Skip to content

Commit

Permalink
[feat]: prod cookie to local cookie by 건규 요구사항
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackBean99 committed Feb 26, 2024
1 parent a4e44b2 commit 65ae450
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 10 deletions.
Binary file modified server/.gradle/7.6.1/executionHistory/executionHistory.bin
Binary file not shown.
Binary file modified server/.gradle/7.6.1/executionHistory/executionHistory.lock
Binary file not shown.
Binary file modified server/.gradle/7.6.1/fileHashes/fileHashes.bin
Binary file not shown.
Binary file modified server/.gradle/7.6.1/fileHashes/fileHashes.lock
Binary file not shown.
Binary file modified server/.gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
Binary file modified server/.gradle/file-system.probe
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,6 @@ public ResponseEntity<TokenResponse> login(
SecurityUtils.setLocalCookie(
"REFRESH_TOKEN", tokenResponse.getRefreshToken()))
.toString());
response.addHeader("Set-Cookie",
new StringBuilder(
SecurityUtils.setProdCookie(
"ACCESS_TOKEN", tokenResponse.getAccessToken())
.toString())
.append("; ")
.append(
SecurityUtils.setProdCookie(
"REFRESH_TOKEN", tokenResponse.getRefreshToken()))
.toString());
return new ResponseEntity<>(tokenResponse, HttpStatus.OK);
}

Expand Down

0 comments on commit 65ae450

Please sign in to comment.