Skip to content

Commit

Permalink
Merge pull request #3170 from thematters/fix/cookie-same-site
Browse files Browse the repository at this point in the history
[hotfix - master] fix(cookie): use SameSite=Lax instead of Strict
  • Loading branch information
robertu7 authored Feb 15, 2023
2 parents 33c8510 + a179dc3 commit 1e81e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/utils/cookie.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const getCookieOptions = () => {
return {
expires: COOKIE_EXPIRES_IN_DAYS,
secure: window.location.href.includes('https://'),
sameSite: 'Strict',
sameSite: 'Lax',
} as CookieAttributes
}

Expand Down

0 comments on commit 1e81e2e

Please sign in to comment.