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:
@@ -585,7 +585,7 @@ if ($action == 'forgotpwd') {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$message = lng('login.usernotfound');
|
$message = lng('pwdreminder.notallowed');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1005,3 +1005,18 @@ if (Froxlor::isFroxlorVersion('0.10.37')) {
|
|||||||
Update::showUpdateStep("Updating from 0.10.37 to 0.10.38", false);
|
Update::showUpdateStep("Updating from 0.10.37 to 0.10.38", false);
|
||||||
Froxlor::updateToVersion('0.10.38');
|
Froxlor::updateToVersion('0.10.38');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Froxlor::isFroxlorVersion('0.10.38')) {
|
||||||
|
Update::showUpdateStep("Updating from 0.10.38 to 0.10.38.1", false);
|
||||||
|
Froxlor::updateToVersion('0.10.38.1');
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Froxlor::isFroxlorVersion('0.10.38.1')) {
|
||||||
|
Update::showUpdateStep("Updating from 0.10.38.1 to 0.10.38.2", false);
|
||||||
|
Froxlor::updateToVersion('0.10.38.2');
|
||||||
|
}
|
||||||
|
|
||||||
|
if (Froxlor::isFroxlorVersion('0.10.38.2')) {
|
||||||
|
Update::showUpdateStep("Updating from 0.10.38.2 to 0.10.38.3", false);
|
||||||
|
Froxlor::updateToVersion('0.10.38.3');
|
||||||
|
}
|
||||||
|
|||||||
@@ -37,11 +37,11 @@ if (!defined('_CRON_UPDATE')) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// last 0.10.x release
|
// last 0.10.x release
|
||||||
if (Froxlor::isFroxlorVersion('0.10.38.2')) {
|
if (Froxlor::isFroxlorVersion('0.10.38.3')) {
|
||||||
|
|
||||||
$update_to = '2.0.0-beta1';
|
$update_to = '2.0.0-beta1';
|
||||||
|
|
||||||
Update::showUpdateStep("Updating from 0.10.38.2 to ".$update_to, false);
|
Update::showUpdateStep("Updating from 0.10.38.3 to ".$update_to, false);
|
||||||
|
|
||||||
Update::showUpdateStep("Removing unused table");
|
Update::showUpdateStep("Removing unused table");
|
||||||
Database::query("DROP TABLE IF EXISTS `panel_sessions`;");
|
Database::query("DROP TABLE IF EXISTS `panel_sessions`;");
|
||||||
|
|||||||
@@ -1235,7 +1235,7 @@ Vielen Dank, Ihr Administrator',
|
|||||||
'privacy' => 'Datenschutzerklärung',
|
'privacy' => 'Datenschutzerklärung',
|
||||||
'pwdreminder' => [
|
'pwdreminder' => [
|
||||||
'success' => 'Das Zurücksetzen des Passworts wurde erfolgreich angefordert. Sie sollten nun eine E-Mail mit weiteren Anweisungen erhalten.',
|
'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.',
|
'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.',
|
'wrongcode' => 'Der verwendete Aktivierungscode ist entweder nicht gültig oder bereits abgelaufen.',
|
||||||
'choosenew' => 'Neues Passwort auswählen',
|
'choosenew' => 'Neues Passwort auswählen',
|
||||||
|
|||||||
@@ -1347,7 +1347,7 @@ Yours sincerely, your administrator',
|
|||||||
'privacy' => 'Privacy policy',
|
'privacy' => 'Privacy policy',
|
||||||
'pwdreminder' => [
|
'pwdreminder' => [
|
||||||
'success' => 'Password reset successfully requested. Please follow the instructions in the email you received.',
|
'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.',
|
'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.',
|
'wrongcode' => 'Sorry, your activation-code does not exist or has already expired.',
|
||||||
'choosenew' => 'Set new password',
|
'choosenew' => 'Set new password',
|
||||||
|
|||||||
Reference in New Issue
Block a user