fixed info messages
This commit is contained in:
@@ -275,6 +275,12 @@ Vue.component("UserEdit", {
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.isNewUser && !this.password.new) {
|
||||
window.notify('error', 'Bitte Passwort angeben.');
|
||||
this.isSaving = false;
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.password.new && this.password.new !== this.password.repeat) {
|
||||
window.notify('error', 'Die Passwörter stimmen nicht überein!');
|
||||
this.isSaving = false;
|
||||
|
||||
Reference in New Issue
Block a user