Skip to content

Commit

Permalink
#35 [Update] sameSite 옵션 제거해보기
Browse files Browse the repository at this point in the history
  • Loading branch information
Anna-Jin committed Jul 20, 2022
1 parent 0584792 commit 0c778b1
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/java/com/mpnp/baechelin/util/CookieUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ public static void addCookie(HttpServletResponse response, String name, String v
.path("/")
.httpOnly(true)
.maxAge(maxAge)
.secure(true)
.sameSite("None")
.build();

response.addHeader("Set-Cookie", cookie.toString());
Expand All @@ -60,8 +58,6 @@ public static void deleteCookie(HttpServletRequest request, HttpServletResponse
.path("/")
.httpOnly(true)
.maxAge(0)
.secure(true)
.sameSite("None")
.build();

// cookie.setValue("");
Expand Down

0 comments on commit 0c778b1

Please sign in to comment.