From bfc43ec7e24ddcf9bc955934449c3458e5c1fbdb Mon Sep 17 00:00:00 2001 From: Yunus Date: Tue, 10 Dec 2024 19:20:55 +0700 Subject: [PATCH] Set expiry cookie to 365 days --- server/api/auth/sign-in-google.post.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/api/auth/sign-in-google.post.ts b/server/api/auth/sign-in-google.post.ts index b5c4efe..7edb490 100644 --- a/server/api/auth/sign-in-google.post.ts +++ b/server/api/auth/sign-in-google.post.ts @@ -98,6 +98,6 @@ export const signInUser = ( httpOnly: false, secure: true, sameSite: 'lax', - maxAge: 90 * 86400, + maxAge: 34560000, // 365 days }) }