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