diff options
author | Chocobozzz <me@florianbigard.com> | 2021-08-17 11:27:47 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-08-17 14:01:45 +0200 |
commit | 1378c0d343028f3d40d7d795422684ab9e6a1599 (patch) | |
tree | 08062b84a38a7e2dfe0aa674e7ca8e1b7321044e /client/src/app/+reset-password | |
parent | c186a67f90203af6bfa434f026efdc99193bcd65 (diff) | |
download | PeerTube-1378c0d343028f3d40d7d795422684ab9e6a1599.tar.gz PeerTube-1378c0d343028f3d40d7d795422684ab9e6a1599.tar.zst PeerTube-1378c0d343028f3d40d7d795422684ab9e6a1599.zip |
Fix client lint
Diffstat (limited to 'client/src/app/+reset-password')
-rw-r--r-- | client/src/app/+reset-password/reset-password.component.ts | 8 |
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 () { |