ts
This commit is contained in:
@@ -93,7 +93,7 @@ class AuthLogic
|
||||
->orWhere('email', $email);
|
||||
})
|
||||
->first();
|
||||
$user->isLogin = true;
|
||||
|
||||
if (!$user) {
|
||||
// 获取编号
|
||||
$userSn = $this->getAvailableUserSn();
|
||||
@@ -133,6 +133,8 @@ class AuthLogic
|
||||
}
|
||||
// 更新飞书信息
|
||||
$user->update($updated);
|
||||
// 是否登陆
|
||||
$user->isLogin = true;
|
||||
}
|
||||
return $user;
|
||||
} catch (\Throwable $e) {
|
||||
|
||||
Reference in New Issue
Block a user