mirror of
https://github.com/v2board/v2board.git
synced 2025-06-13 05:15:27 +08:00
update
This commit is contained in:
@ -24,7 +24,7 @@ class LoginController extends Controller
|
|||||||
abort(500, '用户名或密码错误');
|
abort(500, '用户名或密码错误');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$user->enable) {
|
if ($user->banned) {
|
||||||
abort(500, '该账户已被停止使用');
|
abort(500, '该账户已被停止使用');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user