Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Portals committed Jul 30, 2024
1 parent bbef21f commit d36cc42
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public void save(OAuth2Authorization authorization) {

// If the client has no restrictions, then any user can sign in.
if (client.restrictions().isPresent()
&& !client.restrictions().get().superGroups().isEmpty()
&& !userPassesRestriction(client.restrictions().get(), user)) {
throw new UserNotAllowedRuntimeException();
}
Expand Down

0 comments on commit d36cc42

Please sign in to comment.