Skip to content

Commit

Permalink
feat: 소셜 로그인 이후 ROLE을 USER로 설정
Browse files Browse the repository at this point in the history
- 소셜 로그인 이후 추가로 입력할 정보가 없어 ROLE을 USER로 설정
  • Loading branch information
minnseong committed Jun 1, 2023
1 parent 4af1cbf commit de72d33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public User toEntity(SocialType socialType, OAuth2UserInfo oAuth2UserInfo) {
.socialId(oAuth2UserInfo.getId())
.email(UUID.randomUUID() + "@socialUser.com")
.nickname(oAuth2UserInfo.getNickname())
.role(Role.GUEST)
.role(Role.USER)
.build();
}
}

0 comments on commit de72d33

Please sign in to comment.