feat: enhance ban effect

This commit is contained in:
Baoshuo Ren 2022-10-01 18:00:42 +08:00
parent 05dcdf2158
commit 092aacb74e
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -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 == "") {