From 5f24f88392790f372989ee4b39bc7b464123bc95 Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Fri, 7 Oct 2022 17:31:09 +0800 Subject: [PATCH] fix: style --- web/app/controllers/problem_list.php | 6 +++--- web/app/controllers/problem_lists.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/web/app/controllers/problem_list.php b/web/app/controllers/problem_list.php index c3fc34c..8c724b5 100644 --- a/web/app/controllers/problem_list.php +++ b/web/app/controllers/problem_list.php @@ -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'); diff --git a/web/app/controllers/problem_lists.php b/web/app/controllers/problem_lists.php index 8cc46c0..c5071f3 100644 --- a/web/app/controllers/problem_lists.php +++ b/web/app/controllers/problem_lists.php @@ -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'] = '';