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:
@@ -1005,3 +1005,18 @@ if (Froxlor::isFroxlorVersion('0.10.37')) {
|
||||
Update::showUpdateStep("Updating from 0.10.37 to 0.10.38", false);
|
||||
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
|
||||
if (Froxlor::isFroxlorVersion('0.10.38.2')) {
|
||||
if (Froxlor::isFroxlorVersion('0.10.38.3')) {
|
||||
|
||||
$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");
|
||||
Database::query("DROP TABLE IF EXISTS `panel_sessions`;");
|
||||
|
||||
Reference in New Issue
Block a user