Skip to content

Commit

Permalink
✏️ [FIX] 로그아웃 PATCH 메서드로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ddongseop committed Jan 3, 2024
1 parent adf09ee commit 4e7be1e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public ApiResponse<TokenDto> reissue(
return ApiResponse.success(REISSUE_SUCCESS, userService.reissueToken(refreshToken));
}

@PostMapping("/log-out") // Spring Security 자체의 logout과 겹치지 않기 위해 이렇게 설정
@PatchMapping("/log-out") // Spring Security 자체의 logout과 겹치지 않기 위해 이렇게 설정
@ResponseStatus(HttpStatus.OK)
public ApiResponse<?> logout(Principal principal) {

Expand Down

0 comments on commit 4e7be1e

Please sign in to comment.