From 1a8e4e72700ca6db7ba1ed731b8a7060c0af4f15 Mon Sep 17 00:00:00 2001 From: Sonny Date: Mon, 10 Jul 2023 17:08:08 +0200 Subject: [PATCH] feat: session expiration delay set to default --- src/pages/api/auth/[...nextauth].ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/pages/api/auth/[...nextauth].ts b/src/pages/api/auth/[...nextauth].ts index 80becdd..03fa2c4 100644 --- a/src/pages/api/auth/[...nextauth].ts +++ b/src/pages/api/auth/[...nextauth].ts @@ -125,8 +125,5 @@ export const authOptions = { error: PATHS.LOGIN, signOut: PATHS.LOGOUT, }, - session: { - maxAge: 60 * 60 * 6, // Session de 6 heures - }, } as NextAuthOptions; export default NextAuth(authOptions);