1
1
mirror of https://github.com/renbaoshuo/S2OJ.git synced 2025-04-20 18:34:35 +00:00
This commit is contained in:
Baoshuo Ren 2022-10-07 17:31:09 +08:00
parent 63b7768f78
commit 5f24f88392
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A
2 changed files with 6 additions and 6 deletions

@ -3,9 +3,9 @@
redirectToLogin();
}
if (!isNormalUser($myUser) && UOJConfig::$data['switch']['force-login']) {
become403Page();
}
if (!isNormalUser($myUser) && UOJConfig::$data['switch']['force-login']) {
become403Page();
}
requirePHPLib('form');
requirePHPLib('judger');

@ -3,9 +3,9 @@
redirectToLogin();
}
if (!isNormalUser($myUser) && UOJConfig::$data['switch']['force-login']) {
become403Page();
}
if (!isNormalUser($myUser) && UOJConfig::$data['switch']['force-login']) {
become403Page();
}
if (!isset($_COOKIE['bootstrap4'])) {
$REQUIRE_LIB['bootstrap5'] = '';