Skip to content

Commit

Permalink
[ALS-5514] Handle NPE when user not found
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcolon021 committed Jan 25, 2024
1 parent 96add48 commit ac91957
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ private User initializeUser(JsonNode introspectResponse) {
}

User user = loadUser(introspectResponse);
if (user == null) {
return null;
}

clearCache(user);
return user;
}
Expand Down

0 comments on commit ac91957

Please sign in to comment.