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() {
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
},
};