Commit 21a8de6c authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor fix to previous revision.

parent 3e1e712b
...@@ -100,12 +100,6 @@ function CheckLoginForAjax($guestokay = false) ...@@ -100,12 +100,6 @@ function CheckLoginForAjax($guestokay = false)
SPITAJAX_ERROR(2, "Your are not logged in"); SPITAJAX_ERROR(2, "Your are not logged in");
exit(2); exit(2);
} }
# Guest user okay, but the cookie must exist.
if (isset($_COOKIE['quickvm_user'])) {
return;
}
SPITAJAX_ERROR(2, "Who are you?");
exit(2);
} }
# #
......
Supports Markdown
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