Skip to content

Commit

Permalink
fix: remove maxAge from session cookie (remix-run#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiliman authored Jun 17, 2022
1 parent b4077ae commit ccf9023
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/session.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export const sessionStorage = createCookieSessionStorage({
cookie: {
name: "__session",
httpOnly: true,
maxAge: 0,
path: "/",
sameSite: "lax",
secrets: [process.env.SESSION_SECRET],
Expand Down

0 comments on commit ccf9023

Please sign in to comment.