diff options
Diffstat (limited to 'client/src/app/login')
-rw-r--r-- | client/src/app/login/login.component.html | 1 | ||||
-rw-r--r-- | client/src/app/login/login.component.ts | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/client/src/app/login/login.component.html b/client/src/app/login/login.component.html index fac63d44d..3a6d61327 100644 --- a/client/src/app/login/login.component.html +++ b/client/src/app/login/login.component.html | |||
@@ -50,7 +50,6 @@ | |||
50 | </form> | 50 | </form> |
51 | </div> | 51 | </div> |
52 | 52 | ||
53 | <!--<ng-template #forgotPasswordModal (onShown)="onForgotPasswordModalShown()">--> | ||
54 | <ng-template #forgotPasswordModal> | 53 | <ng-template #forgotPasswordModal> |
55 | <div class="modal-header"> | 54 | <div class="modal-header"> |
56 | <h4 i18n class="modal-title">Forgot your password</h4> | 55 | <h4 i18n class="modal-title">Forgot your password</h4> |
diff --git a/client/src/app/login/login.component.ts b/client/src/app/login/login.component.ts index 8e8822510..7c0220885 100644 --- a/client/src/app/login/login.component.ts +++ b/client/src/app/login/login.component.ts | |||
@@ -69,7 +69,7 @@ export class LoginComponent extends FormReactive implements OnInit { | |||
69 | askResetPassword () { | 69 | askResetPassword () { |
70 | this.userService.askResetPassword(this.forgotPasswordEmail) | 70 | this.userService.askResetPassword(this.forgotPasswordEmail) |
71 | .subscribe( | 71 | .subscribe( |
72 | res => { | 72 | () => { |
73 | const message = this.i18n( | 73 | const message = this.i18n( |
74 | 'An email with the reset password instructions will be sent to {{email}}.', | 74 | 'An email with the reset password instructions will be sent to {{email}}.', |
75 | { email: this.forgotPasswordEmail } | 75 | { email: this.forgotPasswordEmail } |