Skip to content

Commit

Permalink
[UPDATE] httponly, secure 주석
Browse files Browse the repository at this point in the history
  • Loading branch information
ChanHoHan committed Nov 11, 2023
1 parent 5967346 commit 6f0fd89
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ public Optional<Cookie> getCookieFromRequest(HttpServletRequest request, String
public ResponseCookie createCookie(String cookieName, String value, int maxAge) {
return ResponseCookie.from(cookieName, value)
.path("/")
.httpOnly(true)
// .httpOnly(true)
.maxAge(maxAge)
.secure(true)
// .secure(true)
.sameSite("None")
.build();
}
Expand Down

0 comments on commit 6f0fd89

Please sign in to comment.