Skip to content

Commit

Permalink
Merge pull request #257 from FredTreg/patch-1
Browse files Browse the repository at this point in the history
[SHIRO-793] deleteMe cookie should use the defined "sameSite"
  • Loading branch information
bdemers authored Oct 17, 2020
2 parents be4f526 + c5e8075 commit c632a62
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ public void removeFrom(HttpServletRequest request, HttpServletResponse response)
int version = getVersion();
boolean secure = isSecure();
boolean httpOnly = false; //no need to add the extra text, plus the value 'deleteMe' is not sensitive at all
SameSiteOptions sameSite = null;
SameSiteOptions sameSite = getSameSite();

addCookieHeader(response, name, value, comment, domain, path, maxAge, version, secure, httpOnly, sameSite);

Expand Down

0 comments on commit c632a62

Please sign in to comment.