~ under the License.
-->
-<form class="mt-3 mb-3" [formGroup]="userForm" (ngSubmit)="onSubmit()" autocomplete="new-password">
+<form class="mt-3 mb-3" [formGroup]="userForm" (ngSubmit)="onSubmit()" autocomplete="off">
<p class="row col-md-10">{{'security.config.ldap.explain'|translate}}</p>
<div class="form-group row col-md-10"
*ngFor="let attName of ['host_name','port','base_dn','groups_base_dn','bind_dn','bind_password']">
<input [attr.type]="attName=='bind_password'?'password':'text'" formControlName="{{attName}}"
id="{{attName}}"
[ngClass]="getInputClasses(attName)"
- autocomplete="new-password"
+ [attr.autocomplete]="attName=='bind_password'?'new-password':'off'"
>
</div>
</div>
~ under the License.
-->
-<form class="mt-3 mb-3" [formGroup]="userForm" (ngSubmit)="onSubmit()">
+<form class="mt-3 mb-3" [formGroup]="userForm" (ngSubmit)="onSubmit()" autocomplete="off">
<div class="form-group col-md-8">
<label for="user_id">{{'users.attributes.user_id' |translate}}</label>
<input type="text" class="form-control" formControlName="user_id" id="user_id"
<label for="email">{{'users.attributes.email' |translate}}</label>
<input type="text" class="form-control" formControlName="email" id="email"
[ngClass]="valid('email')"
- placeholder="{{'users.input.email'|translate}}">
+ placeholder="{{'users.input.email'|translate}}" autocomplete="off">
</div>
<div class="form-group col-md-8">
<label for="password">{{'users.attributes.password' |translate}}</label>
<input type="password" class="form-control" formControlName="password" id="password"
[ngClass]="valid('password')"
- placeholder="{{'users.input.password'|translate}}">
+ placeholder="{{'users.input.password'|translate}}" autocomplete="new-password">
<div *ngFor="let error of getErrorsFor('password')" class="invalid-feedback">
{{error}}
</div>
<label for="confirm_password">{{'users.attributes.confirm_password' |translate}}</label>
<input type="password" class="form-control" formControlName="confirm_password" id="confirm_password"
[ngClass]="valid('confirm_password')"
- placeholder="{{'users.input.confirm_password'|translate}}">
+ placeholder="{{'users.input.confirm_password'|translate}}" autocomplete="new-password">
</div>
<div class="form-group col-md-8">
<div class="form-check">