From 6302ca56ae408c949027c732fb2d8f30e118fe7f Mon Sep 17 00:00:00 2001 From: averel10 Date: Fri, 10 Apr 2026 08:39:31 +0200 Subject: [PATCH] fix: incremented session timeout to 14 days (without a login) --- src/lib/auth.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/auth.ts b/src/lib/auth.ts index f59ec1f..03897fd 100644 --- a/src/lib/auth.ts +++ b/src/lib/auth.ts @@ -19,6 +19,9 @@ export const auth = betterAuth({ } } }, + session: { + expiresIn: 60 * 60 * 24 * 14, // 14 days + }, emailAndPassword: { enabled: true, },