mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 14:01:07 +00:00
【程序目录】修复禁用用户登录问题
This commit is contained in:
parent
34f77c0567
commit
d7d4cdc69d
@ -70,7 +70,7 @@ class UserAuthServices extends BaseServices
|
||||
throw new AuthException(110003);
|
||||
}
|
||||
|
||||
$user = $this->dao->get(['uid' => $id, 'is_del' => 0]);
|
||||
$user = $this->dao->get(['uid' => $id, 'is_del' => 0, 'status' => 1]);
|
||||
|
||||
if (!$user || $user->uid != $tokenData['uid']) {
|
||||
if (!request()->isCli()) CacheService::delete($md5Token);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user