Skip to content

Commit

Permalink
Merge pull request #6 from STUDIO-EYE/feat/EPIC-79]-login
Browse files Browse the repository at this point in the history
[Feat] login시 userId 반환 추가
  • Loading branch information
ibaesuyeon authored Apr 13, 2024
2 parents cee5814 + 6b76f02 commit 5ee82a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public JWTAuthResponse generateToken(String email, Authentication authentication
response.setTokenType(BEARER);
response.setAccessTokenExpireDate(ACCESS_TOKEN_VALID_TIME);
response.setRole(role);
response.setId(userId);
return response;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ public class JWTAuthResponse {
private String refreshToken;
private Long accessTokenExpireDate;
private Role role;
private Long id;
}

0 comments on commit 5ee82a0

Please sign in to comment.