Skip to content

Commit

Permalink
hotfix: 권한 검사 시 null 전달 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
minjo-on committed Jan 10, 2025
1 parent 92614a0 commit 49e7aad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public Set<SimpleGrantedAuthority> getRoles(Claims claims) {
case "ADMIN" -> Collections.singleton(new SimpleGrantedAuthority("ROLE_ADMIN"));
case "PAID_USER" -> Collections.singleton(new SimpleGrantedAuthority("ROLE_PAID_USER"));
case "USER" -> Collections.singleton(new SimpleGrantedAuthority("ROLE_USER"));
default -> null;
default -> Collections.emptySet();
};
}

Expand Down

0 comments on commit 49e7aad

Please sign in to comment.