From 9a8091c510aad1b4eef906e43b715027d8de4ef4 Mon Sep 17 00:00:00 2001 From: Kunal Gupta <39487888+iamKunalGupta@users.noreply.github.com> Date: Tue, 13 Feb 2024 02:22:06 +0530 Subject: [PATCH] feat: change ui session timeout to 7 days --- ui/app/auth/options.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/auth/options.ts b/ui/app/auth/options.ts index 8d68e1b0ea..585e7aef98 100644 --- a/ui/app/auth/options.ts +++ b/ui/app/auth/options.ts @@ -27,7 +27,7 @@ export const authOptions: AuthOptions = { debug: false, session: { strategy: 'jwt', - maxAge: 60 * 60, // 1h + maxAge: 24 * 7 * 60 * 60, // 1 week }, // adapter: PrismaAdapter(prisma), secret: Configuration.authentication.NEXTAUTH_SECRET,