Skip to content

Conversation

di
Copy link
Member

@di di commented Sep 8, 2025

This changes our captcha validation logic to catch a generic CaptchaError instead of recaptcha.RecaptchaError, which would only be raised when we are using ReCaptcha and not HCaptcha. Additionally, makes our captcha service usage more generic. This was missed in #15141.

Fixes WAREHOUSE-PRODUCTION-262.

@di di requested a review from a team as a code owner September 8, 2025 16:41
@di di enabled auto-merge (squash) September 8, 2025 16:45
@di di merged commit c4040af into pypi:main Sep 8, 2025
20 checks passed
@di di deleted the captcha-generic-fixes branch September 8, 2025 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants