mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-23 07:51:53 +00:00
feat: enhance ban effect
This commit is contained in:
parent
05dcdf2158
commit
092aacb74e
@ -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 == "") {
|
||||
|
Loading…
Reference in New Issue
Block a user