refactor: remove debug option from authOptions for production readiness

This commit is contained in:
Rémi 2025-01-08 00:42:10 +01:00
parent 0cc0d18558
commit 90fd37fde1

View File

@ -41,7 +41,6 @@ export const authOptions: AuthOptions = {
},
},
],
debug: process.env.NODE_ENV === "development",
callbacks: {
async jwt({ token, account, user: profile }) {
// Initial sign in