diff --git a/src/app/login/login-form/login-form.component.html b/src/app/login/login-form/login-form.component.html index 9865a823e..5d057e56a 100644 --- a/src/app/login/login-form/login-form.component.html +++ b/src/app/login/login-form/login-form.component.html @@ -21,8 +21,8 @@ *ngIf="loginForm.controls.password.value && !loading" matSuffix mat-icon-button - (mousedown)="passwordInputType = 'text'" - (mouseup)="passwordInputType = 'password'" + (mousedown)="togglePasswordVisibility()" + (mouseup)="togglePasswordVisibility()" > @@ -36,6 +36,8 @@ 'labels.inputs.Remember me' | translate }} + +