admin 용 loggedInUser 기능 사용하지 않도록 수정

This commit is contained in:
youngmok.kim
2025-05-31 10:19:30 +09:00
parent 8c8b868cc7
commit 149ae46d5a
3 changed files with 10 additions and 42 deletions

View File

@@ -66,16 +66,16 @@ public class AdminAuthSuccessEvent {
}
// 로그인 활성화 기록 생성
loggedInUserSavePortIn.connect(
LoggedInUserSaveCmd.builder()
.loggedInUserId(
LoggedInUserIdSaveCmd.builder()
.appType(AppType.ADMIN)
.id(authentication.getName())
.build())
.clientIP(CommonUtil.getClientIP(request))
.lastLoggedInAt(LocalDateTime.now())
.build());
// loggedInUserSavePortIn.connect(
// LoggedInUserSaveCmd.builder()
// .loggedInUserId(
// LoggedInUserIdSaveCmd.builder()
// .appType(AppType.ADMIN)
// .id(authentication.getName())
// .build())
// .clientIP(CommonUtil.getClientIP(request))
// .lastLoggedInAt(LocalDateTime.now())
// .build());
}
@EventListener