diff --git a/src/main/java/gitbal/backend/api/auth/service/AuthService.java b/src/main/java/gitbal/backend/api/auth/service/AuthService.java index d7eb55c..ef2a046 100644 --- a/src/main/java/gitbal/backend/api/auth/service/AuthService.java +++ b/src/main/java/gitbal/backend/api/auth/service/AuthService.java @@ -47,8 +47,8 @@ public void afterRealjoin(JoinRequestDto joinRequestDto, CustomUserDetails user) User findUser = userRepository.findByNickname(nickname) .orElseThrow(() -> new JoinException("유저가 존재하지 않습니다.")); - // if(Boolean.FALSE.equals(findUser.getFirstLogined())) - // findUser.toggleLogined(); + if(Boolean.FALSE.equals(findUser.getFirstLogined())) + findUser.toggleLogined(); // GitbalApiDto gitbalApiDto = GitbalApiDto.of(userService.calculateUserScore(nickname)); //loginRequestDto 학교이름, 지역이름, 프로필 이미지 이름 @@ -65,8 +65,8 @@ public void earlyJoin(String nickname){ User findUser = userRepository.findByNickname(nickname) .orElseThrow(() -> new JoinException("유저가 존재하지 않습니다.")); - if(Boolean.FALSE.equals(findUser.getFirstLogined())) - findUser.toggleLogined(); +// if(Boolean.FALSE.equals(findUser.getFirstLogined())) +// findUser.toggleLogined(); GitbalApiDto gitbalApiDto = GitbalApiDto.of(userService.calculateUserScore(nickname));