Commit 2aba2745 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor fix to adminmode login.

parent 075175c0
......@@ -246,7 +246,7 @@ if (!$ajax_request && !isset($login)) {
header("Location: $APTBASE/landing.php");
if (NOLOGINS()) {
if (NOLOGINS() && !$adminmode) {
SPITUSERERROR("Sorry, logins are temporarily disabled, ".
"please try again later.");
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