From e692b340934643289de6550cac95a5d447a38cf7 Mon Sep 17 00:00:00 2001 From: sijinhui Date: Fri, 22 Mar 2024 15:55:23 +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?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/auth.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/auth.ts b/lib/auth.ts index fbae70904..ef0e690d2 100644 --- a/lib/auth.ts +++ b/lib/auth.ts @@ -10,8 +10,8 @@ const SECURE_COOKIES:boolean = !!process.env.SECURE_COOKIES; export const authOptions: NextAuthOptions = { - // debug: !VERCEL_DEPLOYMENT, - debug: !SECURE_COOKIES, + debug: true, + // debug: !SECURE_COOKIES, useSecureCookies: SECURE_COOKIES, secret: process.env.NEXTAUTH_SECRET, providers: [