This commit is contained in:
colinislit
2025-11-19 15:33:03 +01:00
parent e6234fe3de
commit d680cf4985

View File

@@ -102,7 +102,7 @@ export async function GET(request: NextRequest) {
// Check if user signed up with password (has identity provider = 'email')
const hasPassword = data.user.identities?.some(
identity => identity.provider === 'email'
(identity: any) => identity.provider === 'email'
)
if (isNewUser && !hasPassword) {