Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Mautsch committed Nov 4, 2023
1 parent 12809b3 commit 4a15d00
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ public static String getUserName() {
return (SecurityContextHolder.getContext().getAuthentication() != null) && !(SecurityContextHolder.getContext().getAuthentication().getName().equals("anonymousUser"))
? SecurityContextHolder.getContext().getAuthentication().getName() : userName.get();
//return isAuthenticationEnabled ? SecurityContextHolder.getContext().getAuthentication().getName() : userName.get();
//yo
}

private static Map<String, Object> decodeJwt(String token) {
Expand Down

0 comments on commit 4a15d00

Please sign in to comment.