From eb71deca88729cffd1c8eeab71fde2452812be9d Mon Sep 17 00:00:00 2001 From: alma Date: Sun, 4 Jan 2026 11:16:36 +0100 Subject: [PATCH] Refactor flow 3 --- app/api/auth/options.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/api/auth/options.ts b/app/api/auth/options.ts index 1c27a93c..874cca26 100644 --- a/app/api/auth/options.ts +++ b/app/api/auth/options.ts @@ -505,10 +505,8 @@ export const authOptions: NextAuthOptions = { async signOut() { console.log('=== NEXTAUTH SIGNOUT EVENT ==='); }, - async error({ error }) { - console.error('=== NEXTAUTH ERROR EVENT ==='); - console.error('Error:', error); - }, + // Note: 'error' event doesn't exist in NextAuth EventCallbacks + // Errors are handled in callbacks and pages.error }, };