refactor: 关闭首次登录重置密码

This commit is contained in:
caiyuchao
2025-08-26 18:59:04 +08:00
parent 907a8ce44a
commit 48e247047a

View File

@@ -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) {