Commit 458a7a9d authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Don't redirect admin after logging them out on disabled login upgrade

parent e4629b62
......@@ -210,7 +210,7 @@ if (get_config('siteclosed')) {
if (get_config('disablelogin')) {
$USER->logout();
}
if (!defined('INSTALLER')) {
else if (!defined('INSTALLER')) {
redirect('/admin/upgrade.php');
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment