Erweiterungen

This commit is contained in:
2025-09-10 11:20:20 +02:00
parent 4e2fdb1e26
commit cb95857f58

View File

@@ -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;
} }