Skip to content

Commit

Permalink
Set sameSite cookie to strict
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikSchmidt committed Apr 11, 2024
1 parent 56a9956 commit 7f52037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/sessions.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if (sessionCookieSecret === undefined) {
const sessionCookie = createCookie("__session", {
maxAge: 30 * 24 * 60 * 60,
secrets: [sessionCookieSecret],
sameSite: "lax",
sameSite: "strict",
secure: true,
httpOnly: true,
});
Expand Down

0 comments on commit 7f52037

Please sign in to comment.