Skip to content

Commit

Permalink
TASK-200 userName 쿼리 파라미터 넘김
Browse files Browse the repository at this point in the history
  • Loading branch information
bjh3311 committed Aug 17, 2024
1 parent beeef77 commit 5018435
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ public Map<String,String> kakaoLogin(Map<String,String> userInfo){
Optional<User> user = userRepository.findByUserName(userName);
if(user.isPresent()){
map.put("accessToken",jwtTokenProvider.generateUserToken(userName));
map.put("userName",userInfo.get("nickname"));
return map;
}//이미 유저 정보가 저장되어 있다면

Expand Down

0 comments on commit 5018435

Please sign in to comment.