Skip to content

Commit

Permalink
EPMRPP-90681 || Replace LocalDateTime
Browse files Browse the repository at this point in the history
  • Loading branch information
APiankouski committed Jun 27, 2024
1 parent 67d4c9a commit d7b4eb7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public UiAuthenticationSuccessEventHandler(UserRepository userRepository,
public void onApplicationEvent(UiUserSignedInEvent event) {
String username = event.getAuthentication().getName();
userRepository.updateLastLoginDate(
LocalDateTime.ofInstant(Instant.ofEpochMilli(event.getTimestamp()), ZoneOffset.UTC),
Instant.ofEpochMilli(event.getTimestamp()),
username);

if (MapUtils.isEmpty(acquireUser(event.getAuthentication()).getProjectDetails())) {
Expand Down

0 comments on commit d7b4eb7

Please sign in to comment.