Skip to content

Commit

Permalink
Revert change
Browse files Browse the repository at this point in the history
  • Loading branch information
samie committed Jul 31, 2024
1 parent bd2cbfb commit d53c061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/example/application/Application.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public String generateHeader(Cookie cookie, HttpServletRequest request) {
// Needs to be secure
if (cookie.getName().startsWith("JSESSIONID")) {
cookie.setSecure(true);
cookie.setAttribute("SameSite", SameSiteCookies.STRICT.getValue());
cookie.setAttribute("SameSite", SameSiteCookies.NONE.getValue());
cookie.setAttribute("Partitioned", "true");
}
return super.generateHeader(cookie, request);
Expand Down

0 comments on commit d53c061

Please sign in to comment.