From 223c6980d0473b385d1d1f3cf8889a00c7f3c9e1 Mon Sep 17 00:00:00 2001 From: sijinhui Date: Fri, 22 Mar 2024 16:40:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=A2=9E=E5=8A=A0=E9=82=AE?= =?UTF-8?q?=E4=BB=B6=E8=AE=A4=E8=AF=81-debug-3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/auth.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/auth.ts b/lib/auth.ts index ef0e690d2..469fe42cd 100644 --- a/lib/auth.ts +++ b/lib/auth.ts @@ -76,11 +76,11 @@ export const authOptions: NextAuthOptions = { } }) ], - pages: { - signIn: `/login`, - // verifyRequest: `/login`, - error: "/login", // Error code passed in query string as ?error= - }, + // pages: { + // signIn: `/login`, + // // verifyRequest: `/login`, + // error: "/login", // Error code passed in query string as ?error= + // }, adapter: PrismaAdapter(prisma), session: { strategy: "jwt", maxAge: 3 * 24 * 60 * 60 }, cookies: {