mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-23 14:18:42 +00:00
7 lines
123 B
PHP
7 lines
123 B
PHP
|
<?php
|
||
|
requirePHPLib('form');
|
||
|
|
||
|
if (!Auth::check() && UOJConfig::$data['switch']['force-login']) {
|
||
|
redirectToLogin();
|
||
|
}
|