Update Angular UI for resetting user password in UserManagement module.

pull/1942/head
gdlcf88 6 years ago
parent 95562a4f47
commit b307e01282

@ -137,9 +137,9 @@
<input type="text" id="surname" class="form-control" formControlName="surname" />
</div>
<div *ngIf="!selected.userName" class="form-group">
<div class="form-group">
<label for="password">{{ 'AbpIdentity::Password' | abpLocalization }}</label
><span> * </span>
><span *ngIf="!selected.userName"> * </span>
<input
type="password"
id="password"

@ -94,6 +94,8 @@ export class UsersComponent implements OnInit {
if (!this.selected.userName) {
this.form.addControl('password', new FormControl('', [Validators.required, Validators.maxLength(32)]));
} else {
this.form.addControl('password', new FormControl('', [Validators.maxLength(32)]));
}
});
}

Loading…
Cancel
Save