Skip to content

Commit 9bd6968

Browse files
hmndJ0
authored andcommitted
fix: max cookie maxage is 400 days
1 parent a48fe6f commit 9bd6968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/constants.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ export const DEFAULT_COOKIE_OPTIONS: CookieOptions = {
44
path: "/",
55
sameSite: "lax",
66
httpOnly: false,
7-
maxAge: 60 * 60 * 24 * 365 * 1000,
7+
maxAge: 60 * 60 * 24 * 400,
88
};

0 commit comments

Comments
 (0)