diff --git a/app/api/auth/[...nextauth]/route.ts b/app/api/auth/[...nextauth]/route.ts index 28c8439..1d690a5 100644 --- a/app/api/auth/[...nextauth]/route.ts +++ b/app/api/auth/[...nextauth]/route.ts @@ -188,7 +188,7 @@ export const authOptions = { }, }, - debug: true, + debug: process.env.NODE_ENV === "development", secret: process.env.NEXTAUTH_SECRET, };