Don't require password when editing user
This commit is contained in:
parent
2ee00f1312
commit
86647fe51e
@ -152,7 +152,7 @@ export class UserAdmin {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (user.password === '') {
|
||||
if (this.modalProps.title === 'Add' && user.password === '') {
|
||||
this.notes.add(new Notification('error', 'Password is required.'));
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user