no message

This commit is contained in:
kuaifan
2021-06-29 16:08:13 +08:00
parent a5e62b25f3
commit c1c6837d76
11 changed files with 298 additions and 22 deletions

View File

@@ -80,6 +80,10 @@ class UsersController extends AbstractController
if ($user->password != Base::md52($password, $user->encrypt)) {
return $retError('账号或密码错误');
}
//
if (in_array('disable', $user->identity)) {
return $retError('帐号已停用...');
}
Cache::forget("code::" . $email);
}
//