From 9bd696810c3aabf0ff3e5ae8adeeb383490749d0 Mon Sep 17 00:00:00 2001 From: David Roizenman Date: Wed, 10 Jul 2024 17:44:19 -0700 Subject: [PATCH] fix: max cookie maxage is 400 days --- src/utils/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 30454ee..b08e647 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -4,5 +4,5 @@ export const DEFAULT_COOKIE_OPTIONS: CookieOptions = { path: "/", sameSite: "lax", httpOnly: false, - maxAge: 60 * 60 * 24 * 365 * 1000, + maxAge: 60 * 60 * 24 * 400, };