Skip to content

Commit d54ba90

Browse files
fix-wrong-url-on-auth-error (calcom#21693)
1 parent ca20691 commit d54ba90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/features/auth/lib/next-auth-options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ export const getOptions = ({
973973
return true;
974974
}
975975
}
976-
return `auth/error?error=wrong-provider&provider=${existingUserWithEmail.identityProvider}`;
976+
return `/auth/error?error=wrong-provider&provider=${existingUserWithEmail.identityProvider}`;
977977
}
978978

979979
// Associate with organization if enabled by flag and idP is Google (for now)

0 commit comments

Comments
 (0)