diff --git a/src/frontend/app/profile.component.ts b/src/frontend/app/profile.component.ts index 479ee1cabd60c30ce69e5a7e7f9704e34d172cb9..3a71186d0f8898b137c74e25e4cbd96532c2bf2f 100755 --- a/src/frontend/app/profile.component.ts +++ b/src/frontend/app/profile.component.ts @@ -754,6 +754,8 @@ export class ProfileComponent implements OnInit { this.http.put('../../rest/currentUser/profile', this.user) .subscribe(() => { this.notify.success(this.lang.modificationSaved); + this.headerService.user.firstname = this.user.firstname; + this.headerService.user.lastname = this.user.lastname; }, (err) => { this.notify.error(err.error.errors); });