Commit 796b16e4 authored by Leigh B Stoller's avatar Leigh B Stoller

When not ISAPT (guest users okay) redirect to login page when known

user is not logged in.
parent 5add9782
......@@ -40,6 +40,10 @@ $this_user = CheckLogin($check_status);
if (isset($this_user)) {
elseif (!$ISAPT && GETUID()) {
# User with an account, redirect to login. APT allows guest users.
# We do not set the isfadmin flag if the user has normal permission
# to see this experiment, since that would change what the user sees.
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