diff options
Diffstat (limited to 'client/src/app/account')
-rw-r--r-- | client/src/app/account/account-change-password/account-change-password.component.ts | 2 | ||||
-rw-r--r-- | client/src/app/account/account-details/account-details.component.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/account/account-change-password/account-change-password.component.ts b/client/src/app/account/account-change-password/account-change-password.component.ts index dba141296..69edec54b 100644 --- a/client/src/app/account/account-change-password/account-change-password.component.ts +++ b/client/src/app/account/account-change-password/account-change-password.component.ts | |||
@@ -59,7 +59,7 @@ export class AccountChangePasswordComponent extends FormReactive implements OnIn | |||
59 | this.userService.changePassword(newPassword).subscribe( | 59 | this.userService.changePassword(newPassword).subscribe( |
60 | () => this.notificationsService.success('Success', 'Password updated.'), | 60 | () => this.notificationsService.success('Success', 'Password updated.'), |
61 | 61 | ||
62 | err => this.error = err | 62 | err => this.error = err.message |
63 | ) | 63 | ) |
64 | } | 64 | } |
65 | } | 65 | } |
diff --git a/client/src/app/account/account-details/account-details.component.ts b/client/src/app/account/account-details/account-details.component.ts index 78e365a62..d7a6e6871 100644 --- a/client/src/app/account/account-details/account-details.component.ts +++ b/client/src/app/account/account-details/account-details.component.ts | |||
@@ -62,7 +62,7 @@ export class AccountDetailsComponent extends FormReactive implements OnInit { | |||
62 | this.authService.refreshUserInformation() | 62 | this.authService.refreshUserInformation() |
63 | }, | 63 | }, |
64 | 64 | ||
65 | err => this.error = err | 65 | err => this.error = err.message |
66 | ) | 66 | ) |
67 | } | 67 | } |
68 | } | 68 | } |