Refactor flow 3

This commit is contained in:
alma 2026-01-04 11:11:38 +01:00
parent 35ce442d4f
commit 30ee3213f7

View File

@ -500,7 +500,7 @@ export const authOptions: NextAuthOptions = {
console.log('User:', user?.id, user?.email); console.log('User:', user?.id, user?.email);
console.log('Account:', account?.provider); console.log('Account:', account?.provider);
console.log('Profile:', profile?.sub); console.log('Profile:', profile?.sub);
return true; // Don't return anything - NextAuth events should return void
}, },
async signOut() { async signOut() {
console.log('=== NEXTAUTH SIGNOUT EVENT ==='); console.log('=== NEXTAUTH SIGNOUT EVENT ===');