From 90fd37fde187d9cdef3942c8f1c3bbb7fa2f9a51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi?= Date: Wed, 8 Jan 2025 00:42:10 +0100 Subject: [PATCH] refactor: remove debug option from authOptions for production readiness --- src/authOptions.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/authOptions.ts b/src/authOptions.ts index 26e67d6..69a4b56 100644 --- a/src/authOptions.ts +++ b/src/authOptions.ts @@ -41,7 +41,6 @@ export const authOptions: AuthOptions = { }, }, ], - debug: process.env.NODE_ENV === "development", callbacks: { async jwt({ token, account, user: profile }) { // Initial sign in