Refactor flow 3
This commit is contained in:
parent
30ee3213f7
commit
eb71deca88
@ -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
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user