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