Skip to content

Commit

Permalink
feat-SsoController-用户登录时可以记录登录时间
Browse files Browse the repository at this point in the history
  • Loading branch information
aruis committed Oct 22, 2024
1 parent 6b98f84 commit c446763
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ public IRuntimeUser login(@QueryParam("username") String username, @QueryParam("
Map<String, ?> user = userInfoController.view((String) userInDB.get("id"));
IRuntimeUser runtimeUser = mapToUser(user);
setUserInContext(runtimeUser);
userController.checkIn((String) user.get("id"));
return runtimeUser;
} else {
logger.error("用户已停用,用户名:%s".formatted(username));
Expand Down

0 comments on commit c446763

Please sign in to comment.