Commit f1ce5b40 authored by Leigh B Stoller's avatar Leigh B Stoller

Back out previous revision, breaks anonymous ajax calls, return later.

parent 2beadcc5
......@@ -412,11 +412,6 @@ function CheckLoginForAjax($route)
if (array_key_exists("notloggedinokay", $route)) {
$notloggedinokay = $route["notloggedinokay"];
}
# Not logged in anymore.
if (!$ISAPT && $check_status == CHECKLOGIN_NOTLOGGEDIN) {
SPITAJAX_ERROR(222, "Your are no longer logged in");
exit(1);
}
# Known user, but timed out.
if ($check_status & CHECKLOGIN_TIMEDOUT) {
SPITAJAX_ERROR(222, "Your login has timed out");
......
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