diff --git a/lib/auth.ts b/lib/auth.ts index af1784d..4a8952a 100644 --- a/lib/auth.ts +++ b/lib/auth.ts @@ -34,7 +34,7 @@ export const auth = betterAuth({ }, session: { strategy: "jwt", - maxAge: 180 * 24 * 60 * 60, // 180 days + expiresIn: 180 * 24 * 60 * 60, // 365 days updateAge: 24 * 60 * 60, // 24 hours cookieCache: { enabled: true,