Skip to content

Commit

Permalink
fix: don't use getAllPrincipals
Browse files Browse the repository at this point in the history
Signed-off-by: Morten Svanaes <[email protected]>
  • Loading branch information
netroms committed Jan 17, 2025
1 parent 69f0f1d commit febbc2e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1076,8 +1076,8 @@ public List<UserLookup> getLinkedUserAccounts(@Nonnull User actingUser) {
}

@Override
public void invalidateUserSessions(String username) {
User user = getUserByUsername(username);
public void invalidateUserSessions(String userUid) {
User user = getUser(userUid);
UserDetails userDetails = createUserDetails(user);
if (userDetails != null) {
List<SessionInformation> allSessions = sessionRegistry.getAllSessions(userDetails, false);
Expand Down

0 comments on commit febbc2e

Please sign in to comment.