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