From 312587d5b39eb88503be4f6cc4f83073559ca711 Mon Sep 17 00:00:00 2001 From: vas3k Date: Wed, 21 May 2025 14:19:19 +0200 Subject: [PATCH] fix: longer cookie age --- lib/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/auth.ts b/lib/auth.ts index b2908ac..af1784d 100644 --- a/lib/auth.ts +++ b/lib/auth.ts @@ -38,7 +38,7 @@ export const auth = betterAuth({ updateAge: 24 * 60 * 60, // 24 hours cookieCache: { enabled: true, - maxAge: 7 * 24 * 60 * 60, // 7 days + maxAge: 365 * 24 * 60 * 60, // 365 days }, }, advanced: {