登录成功信息更新优化

This commit is contained in:
shimingxy
2025-01-17 08:58:40 +08:00
parent 16f0af1c4e
commit 64befce37f
2 changed files with 5 additions and 4 deletions
@@ -160,7 +160,9 @@ public abstract class AbstractAuthenticationRealm {
}
historyLoginService.login(historyLogin);
loginService.updateLastLogin(userInfo);
if(WebConstants.LOGIN_RESULT.SUCCESS.equalsIgnoreCase(message)) {
loginService.updateLastLogin(userInfo);
}
return true;
}