Skip to content

Commit

Permalink
SHIBUI-2578/2579
Browse files Browse the repository at this point in the history
Fixes for issues found by QA
  • Loading branch information
chasegawa committed Jun 2, 2023
1 parent da14d5b commit 2371618
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ public class AdminUserService implements UserDetailsService {
private final UserService userService;

@Override
@Transactional(readOnly = true)
public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException {
User user = userService
.findByUsername(username)
Expand All @@ -44,7 +43,6 @@ public UserDetails loadUserByUsername(String username) throws UsernameNotFoundEx
throw new UsernameNotFoundException(String.format("No roles are defined for user [%s]", username));
}

userService.updateLoginRecord(username);
return new org.springframework.security.core.userdetails.User(user.getUsername(), user.getPassword(), grantedAuthorities);
}
}

0 comments on commit 2371618

Please sign in to comment.