Refactor flow 3

This commit is contained in:
alma 2026-01-04 11:16:36 +01:00
parent 30ee3213f7
commit eb71deca88

View File

@ -505,10 +505,8 @@ export const authOptions: NextAuthOptions = {
async signOut() { async signOut() {
console.log('=== NEXTAUTH SIGNOUT EVENT ==='); console.log('=== NEXTAUTH SIGNOUT EVENT ===');
}, },
async error({ error }) { // Note: 'error' event doesn't exist in NextAuth EventCallbacks
console.error('=== NEXTAUTH ERROR EVENT ==='); // Errors are handled in callbacks and pages.error
console.error('Error:', error);
},
}, },
}; };