From d2996e8db846c5f78938704e43a055385ca69a76 Mon Sep 17 00:00:00 2001 From: David Inga Date: Fri, 15 Dec 2023 10:40:56 +0100 Subject: [PATCH] session expiration to 12 hours --- client/src/pages/api/auth/[...nextauth].ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/pages/api/auth/[...nextauth].ts b/client/src/pages/api/auth/[...nextauth].ts index 07b7e15dd..2fae5e5b4 100644 --- a/client/src/pages/api/auth/[...nextauth].ts +++ b/client/src/pages/api/auth/[...nextauth].ts @@ -23,7 +23,7 @@ export const options: NextAuthOptions = { session: { strategy: 'jwt', - maxAge: 2 * 60 * 60, // 2 hours + maxAge: 12 * 60 * 60, // 12 hours }, // Configure one or more authentication providers providers: [