Skip to content

Commit b7997f5

Browse files
authoredMar 28, 2025··
[Fix] 플그로 로그인 시 soptamp 관련 로직 무조건 통과하도록 변경 및 테스트용 로그 삭제 (#516) (#517)
2 parents 7652904 + 092b671 commit b7997f5

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed
 

‎src/main/java/org/sopt/app/facade/AuthFacade.java

-7
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
@Service
2424
@RequiredArgsConstructor
25-
@Slf4j
2625
public class AuthFacade {
2726

2827
private final JwtTokenService jwtTokenService;
@@ -39,15 +38,9 @@ public AppAuthResponse loginWithPlayground(CodeRequest codeRequest) {
3938
playgroundToken, playgroundInfo.getId()
4039
);
4140
Long latestGeneration = playgroundProfile.getLatestActivity().getGeneration();
42-
log.error("latestGeneration: {}", latestGeneration);
43-
log.error("playgroundProfile.getGeneration: {}", playgroundProfile.getLatestActivity().getGeneration());
4441
Long userId = userService.upsertUser(LoginInfo.of(playgroundInfo, playgroundToken));
4542
soptampUserService.upsertSoptampUser(playgroundProfile, userId);
4643

47-
// if (playgroundAuthService.isCurrentGeneration(latestGeneration)){
48-
// soptampUserService.upsertSoptampUser(playgroundProfile, userId);
49-
// }
50-
5144
AppToken appToken = jwtTokenService.issueNewTokens(userId, playgroundInfo.getId());
5245
return AppAuthResponse.builder()
5346
.playgroundToken(playgroundToken)

0 commit comments

Comments
 (0)
Please sign in to comment.