refactor: 关闭首次登录重置密码
This commit is contained in:
@@ -169,9 +169,9 @@ public class AdminAuthServiceImpl implements AdminAuthService {
|
||||
AdminUserDO user = authenticateByLdap(reqVO.getUsername(), reqVO.getPassword());
|
||||
|
||||
// 首次登录不返回token
|
||||
if (user.getLoginDate() == null) {
|
||||
return new AuthLoginRespVO();
|
||||
}
|
||||
// if (user.getLoginDate() == null) {
|
||||
// return new AuthLoginRespVO();
|
||||
// }
|
||||
|
||||
// 如果 socialType 非空,说明需要绑定社交用户
|
||||
if (reqVO.getSocialType() != null) {
|
||||
|
||||
Reference in New Issue
Block a user