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