Skip to content

Commit

Permalink
Merge pull request #195 from Juinjang/feat/#191
Browse files Browse the repository at this point in the history
fix(#191) : header key 이름 변경
  • Loading branch information
2hy2on authored Aug 26, 2024
2 parents cd8c6f2 + ade5d3f commit f9fb7a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public ApiResponse<LoginResponseDto> regenerateAccessToken(HttpServletRequest re
// 로그아웃 -> refresh 토큰 만료
@PostMapping("/logout")
public ApiResponse<String> logout(HttpServletRequest request) {
String token = request.getHeader("Authorization");
String token = request.getHeader("Refresh-Token");
log.info("token : " + token);

if (StringUtils.hasText(token) && token.startsWith("Bearer ")) {
Expand Down

0 comments on commit f9fb7a9

Please sign in to comment.