Commit 7c936c1a authored by Leigh Stoller's avatar Leigh Stoller

Say something when logins are disabled!

parent ea04c083
<?php
#
# Copyright (c) 2000-2015 University of Utah and the Flux Group.
# Copyright (c) 2000-2016 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -214,6 +214,12 @@ if (!$ajax_request && !isset($login)) {
header("Location: $APTBASE/landing.php");
return;
}
if (NOLOGINS()) {
SPITHEADER();
SPITUSERERROR("Sorry, logins are temporarily disabled, ".
"please try again later.");
return;
}
SPITFORM(REMEMBERED_ID(), $referrer, null);
return;
}
......
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