diff options
Diffstat (limited to 'src/flog.php')
| -rw-r--r-- | src/flog.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flog.php b/src/flog.php index e52e167..5eea441 100644 --- a/src/flog.php +++ b/src/flog.php @@ -141,7 +141,7 @@ function DBLogInContest($name,$pass,$contest,$msg=true) { unset($_SESSION["usertable"]); return false; } - if ($d["sitepermitlogins"]=="f" && $a["usertype"] != "admin" && $a["usertype"] != "judge") { + if ($d["sitepermitlogins"]=="f" && $a["usertype"] != "admin" && $a["usertype"] != "judge" && $a["usertype"] != "site") { LOGLevel("User $name tried to login contest $contest but logins are denied.",2); if($msg) MSGError("Logins are not allowed."); unset($_SESSION["usertable"]); |