登录成功信息更新优化
This commit is contained in:
+3
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user