Skip to content

Commit

Permalink
[feat/#72] 로그인 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Gyuhyeok99 committed Jun 24, 2024
1 parent e76e067 commit 2001ed4
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 class AuthServiceImpl implements AuthService {
public PostSocialRes socialLogin(String code, SocialType socialType) {
switch (socialType){
case KAKAO: {
GetKakaoRes getKakaoRes = kakaoLoginService.getUserInfo(kakaoLoginService.getAccessToken(code));
GetKakaoRes getKakaoRes = kakaoLoginService.getUserInfo(code);

boolean isRegistered = userJpaRepository.existsByUsernameAndSocialTypeAndState(getKakaoRes.getId(), SocialType.KAKAO, ACTIVE);

Expand Down

0 comments on commit 2001ed4

Please sign in to comment.