Skip to content

Commit

Permalink
fix(cookie): default settings
Browse files Browse the repository at this point in the history
  • Loading branch information
ido-pluto committed Aug 30, 2024
1 parent 260c801 commit 9c2a83b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/forms/src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const DEFAULT_FORM_OPTIONS: FormsSettings = {
cookieName: 'session',
cookieOptions: {
httpOnly: true,
sameSite: true,
sameSite: "lax",
maxAge: 1000 * 60 * 60 * 24 * 7,
path: '/'
}
Expand Down

0 comments on commit 9c2a83b

Please sign in to comment.