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