Erweiterungen
This commit is contained in:
@@ -267,7 +267,7 @@ public class EditAppUserView extends VerticalLayout implements HasUrlParameter<S
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If both are filled, they must match
|
// If both are filled, they must match
|
||||||
if (newPasswordFilled && confirmPasswordFilled && !newPassword.equals(confirmPassword)) {
|
if (newPasswordFilled && confirmPasswordFilled && newPassword != null && !newPassword.equals(confirmPassword)) {
|
||||||
Notification.show("Passwörter stimmen nicht überein", 3000, Notification.Position.MIDDLE);
|
Notification.show("Passwörter stimmen nicht überein", 3000, Notification.Position.MIDDLE);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user