use same error message for invalid user and disabled password reset to not give away if a user exists

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-12-02 13:25:17 +01:00
parent 63f6d221cd
commit 89f73f571e
5 changed files with 20 additions and 5 deletions

View File

@@ -1235,7 +1235,7 @@ Vielen Dank, Ihr Administrator',
'privacy' => 'Datenschutzerklärung',
'pwdreminder' => [
'success' => 'Das Zurücksetzen des Passworts wurde erfolgreich angefordert. Sie sollten nun eine E-Mail mit weiteren Anweisungen erhalten.',
'notallowed' => 'Das Zurücksetzen des Passworts ist deaktiviert.',
'notallowed' => 'Unbekannter Benutzer oder Zurücksetzen des Passworts ist deaktiviert.',
'changed' => 'Ihr Passwort wurde erfolgreich geändert. Sie können sich nun damit anmelden.',
'wrongcode' => 'Der verwendete Aktivierungscode ist entweder nicht gültig oder bereits abgelaufen.',
'choosenew' => 'Neues Passwort auswählen',

View File

@@ -1347,7 +1347,7 @@ Yours sincerely, your administrator',
'privacy' => 'Privacy policy',
'pwdreminder' => [
'success' => 'Password reset successfully requested. Please follow the instructions in the email you received.',
'notallowed' => 'Password reset is disabled',
'notallowed' => 'Unknown user or password reset is disabled',
'changed' => 'Your password has been updated successfully. You can now login with your new password.',
'wrongcode' => 'Sorry, your activation-code does not exist or has already expired.',
'choosenew' => 'Set new password',