This commit is contained in:
root 2020-01-20 23:04:42 +08:00
parent 6d76e30299
commit 52b9ed47b0

View File

@ -24,7 +24,7 @@ class LoginController extends Controller
abort(500, '用户名或密码错误'); abort(500, '用户名或密码错误');
} }
if (!$user->enable) { if ($user->banned) {
abort(500, '该账户已被停止使用'); abort(500, '该账户已被停止使用');
} }