Skip to content

Commit

Permalink
Merge pull request #160 from JNU-econovation/feat-cookie
Browse files Browse the repository at this point in the history
fix: Cookie samesite option change
  • Loading branch information
pyg410 authored Apr 11, 2024
2 parents 77400e7 + 7881b9c commit 665c94d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/timcooki/jnuwiki/util/CookieUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ public class CookieUtil {
public static void addCookie(HttpServletResponse response, String name, String value, int maxAge) {
ResponseCookie cookie = ResponseCookie.from(name, value)
.path("/")
.sameSite("None")
.sameSite("")
.httpOnly(false)
.secure(false)
.maxAge(maxAge)
Expand Down

0 comments on commit 665c94d

Please sign in to comment.