diff options
Diffstat (limited to 'client/src/app/+admin/overview/users/user-edit/user-password.component.html')
-rw-r--r-- | client/src/app/+admin/overview/users/user-edit/user-password.component.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/app/+admin/overview/users/user-edit/user-password.component.html b/client/src/app/+admin/overview/users/user-edit/user-password.component.html index 13f57024b..173825957 100644 --- a/client/src/app/+admin/overview/users/user-edit/user-password.component.html +++ b/client/src/app/+admin/overview/users/user-edit/user-password.component.html | |||
@@ -1,8 +1,10 @@ | |||
1 | <form role="form" (ngSubmit)="formValidated()" [formGroup]="form"> | 1 | <form role="form" (ngSubmit)="formValidated()" [formGroup]="form"> |
2 | 2 | ||
3 | <div class="input-group"> | 3 | <div class="input-group"> |
4 | <input id="password" [attr.type]="showPassword ? 'text' : 'password'" class="form-control" | 4 | <input id="password" |
5 | [attr.type]="showPassword ? 'text' : 'password'" class="form-control" | ||
5 | formControlName="password" [ngClass]="{ 'input-error': formErrors['password'] }" | 6 | formControlName="password" [ngClass]="{ 'input-error': formErrors['password'] }" |
7 | autocomplete="new-password" | ||
6 | > | 8 | > |
7 | <button class="btn btn-sm btn-outline-secondary" (click)="togglePasswordVisibility()" type="button"> | 9 | <button class="btn btn-sm btn-outline-secondary" (click)="togglePasswordVisibility()" type="button"> |
8 | <ng-container *ngIf="!showPassword" i18n>Show</ng-container> | 10 | <ng-container *ngIf="!showPassword" i18n>Show</ng-container> |