aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+reset-password
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/+reset-password')
-rw-r--r--client/src/app/+reset-password/reset-password.component.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/+reset-password/reset-password.component.ts b/client/src/app/+reset-password/reset-password.component.ts
index ce9144170..a1c04147b 100644
--- a/client/src/app/+reset-password/reset-password.component.ts
+++ b/client/src/app/+reset-password/reset-password.component.ts
@@ -42,14 +42,14 @@ export class ResetPasswordComponent extends FormReactive implements OnInit {
42 42
43 resetPassword () { 43 resetPassword () {
44 this.userService.resetPassword(this.userId, this.verificationString, this.form.value.password) 44 this.userService.resetPassword(this.userId, this.verificationString, this.form.value.password)
45 .subscribe( 45 .subscribe({
46 () => { 46 next: () => {
47 this.notifier.success($localize`Your password has been successfully reset!`) 47 this.notifier.success($localize`Your password has been successfully reset!`)
48 this.router.navigate([ '/login' ]) 48 this.router.navigate([ '/login' ])
49 }, 49 },
50 50
51 err => this.notifier.error(err.message) 51 error: err => this.notifier.error(err.message)
52 ) 52 })
53 } 53 }
54 54
55 isConfirmedPasswordValid () { 55 isConfirmedPasswordValid () {