Skip to content

Commit

Permalink
[ALS-4793] Remove unnecessary logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcolon021 committed Aug 28, 2023
1 parent 6e1e3a7 commit aff7e6c
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,9 +192,6 @@ public User createOpenAccessUser(Role openAccessRole) {
user = getById(user.getUuid());
user.setSubject("open_access|" + user.getUuid().toString());
if (openAccessRole != null) {
logger.info("createOpenAccessUser() openAccessRole is not null");
logger.info("Adding role: " + openAccessRole.getName() + " to user: " + user.getUuid() + " with subject: " + user.getSubject());

user.setRoles(new HashSet<>(List.of(openAccessRole)));
} else {
logger.error("createOpenAccessUser() openAccessRole is null");
Expand Down

0 comments on commit aff7e6c

Please sign in to comment.