v1.6.0: Admin-Passwort-Reset, Login per Nachname, Default-PW-Sperre
This commit is contained in:
@@ -19,6 +19,10 @@ export async function changePassword(
|
||||
return { error: 'Das Passwort muss mindestens 6 Zeichen lang sein.' };
|
||||
}
|
||||
|
||||
if (newPassword === 'welzheim') {
|
||||
return { error: 'Das Standard-Passwort darf nicht als neues Passwort verwendet werden.' };
|
||||
}
|
||||
|
||||
if (newPassword !== confirmPassword) {
|
||||
return { error: 'Die Passwörter stimmen nicht überein.' };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user