Skip to content

Commit

Permalink
fix(user form): set form to required (DEV-3527) (#1559)
Browse files Browse the repository at this point in the history
  • Loading branch information
domsteinbach authored Apr 23, 2024
1 parent 47cf31e commit 6c5ead8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dsp-app/src/app/user/user-form/user-form.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class UserFormComponent implements OnInit {
[Validators.required, Validators.minLength(4), Validators.pattern(CustomRegex.USERNAME_REGEX)],
existingNamesAsyncValidator(this._existingUserNames$),
],
password: [{ value: '', disabled: this.editExistingUser }],
password: [{ value: '', disabled: this.editExistingUser }, Validators.required],
lang: [this.user.lang || 'en'],
systemAdmin: [ProjectService.IsMemberOfSystemAdminGroup(this.user.permissions.groupsPerProject)],
});
Expand Down

0 comments on commit 6c5ead8

Please sign in to comment.