Skip to content

Commit e7f9d93

Browse files
author
github-actions
committed
chore: Java 스타일 수정
1 parent 2b3b79b commit e7f9d93

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

backend/src/main/java/io/f1/backend/global/security/util/SecurityUtils.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,7 @@ public static String getCurrentUserNickname() {
4646

4747
public static Role getCurrentUserRole() {
4848
Authentication authentication = getAuthentication();
49-
if (authentication != null
50-
&& authentication.getPrincipal() instanceof UserPrincipal) {
49+
if (authentication != null && authentication.getPrincipal() instanceof UserPrincipal) {
5150
return Role.USER;
5251
}
5352
return Role.ADMIN;

0 commit comments

Comments
 (0)