From 092aacb74eb28cee9fc4572f0349c6fff1ec8116 Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Sat, 1 Oct 2022 18:00:42 +0800 Subject: [PATCH] feat: enhance ban effect --- web/app/libs/uoj-html-lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/libs/uoj-html-lib.php b/web/app/libs/uoj-html-lib.php index 49f419e..8e3a294 100644 --- a/web/app/libs/uoj-html-lib.php +++ b/web/app/libs/uoj-html-lib.php @@ -83,7 +83,7 @@ function become403Page($message = '访问被拒绝,您可能需要适当的权 } function getUserLink($username) { - if (validateUsername($username) && ($user = queryUser($username))) { + if (validateUsername($username) && ($user = queryUser($username)) && $user['usergroup'] != 'B') { $realname = $user['realname']; if ($realname == "") {