Fixed change password autocomplete #70

This commit is contained in:
Sven Heidemann 2022-10-25 20:44:50 +02:00
parent bf2a412dec
commit 1c5b776efb

View File

@ -20,7 +20,7 @@
<div class="input-field">
<input type="password" pInputText formControlName="passwordRepeat"
placeholder="{{'view.change-password.repeat_new_password' | translate}}"
[ngClass]="{ 'invalid-feedback-input': submitted && errors.repeatPassword}">
[ngClass]="{ 'invalid-feedback-input': submitted && errors.repeatPassword}" autocomplete="new-password">
<div *ngIf="submitted" class="invalid-feedback">
<div *ngIf="errors.repeatPassword">{{'view.change-password.passwords_do_not_match' | translate}}</div>
</div>