mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 22:48:42 +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) {
|
function getUserLink($username) {
|
||||||
if (validateUsername($username) && ($user = queryUser($username))) {
|
if (validateUsername($username) && ($user = queryUser($username)) && $user['usergroup'] != 'B') {
|
||||||
$realname = $user['realname'];
|
$realname = $user['realname'];
|
||||||
|
|
||||||
if ($realname == "") {
|
if ($realname == "") {
|
||||||
|
Loading…
Reference in New Issue
Block a user