The Google key for Hesychia is reCAPTCHA v3, and CAPTCHA_SECRET_KEY is already set for that key. hesychia.ai is already on the key's domain list.
The page still mounts react-google-recaptcha with size="invisible". That package is a v2 widget. Google rejects a v3 site key in a v2 widget before the form is submitted.
Fix
Load reCAPTCHA v3 (api.js?render=SITE_KEY) and send grecaptcha.execute(siteKey, { action: 'password_reset' }) as recaptchaToken.
The backend already verifies v3 tokens and rejects a score under 0.5. No backend change.
Site key stays 6LfENu4qAAAAAFtPejcrP3dwBDxcRPjqi7RhytJJ, the pair of the secret already in the secrets file.
## Problem
https://hesychia.ai/password_reset/ shows an invalid reCAPTCHA error on load.
The Google key for Hesychia is reCAPTCHA v3, and `CAPTCHA_SECRET_KEY` is already set for that key. `hesychia.ai` is already on the key's domain list.
The page still mounts `react-google-recaptcha` with `size="invisible"`. That package is a v2 widget. Google rejects a v3 site key in a v2 widget before the form is submitted.
## Fix
Load reCAPTCHA v3 (`api.js?render=SITE_KEY`) and send `grecaptcha.execute(siteKey, { action: 'password_reset' })` as `recaptchaToken`.
The backend already verifies v3 tokens and rejects a score under 0.5. No backend change.
Site key stays `6LfENu4qAAAAAFtPejcrP3dwBDxcRPjqi7RhytJJ`, the pair of the secret already in the secrets file.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
https://hesychia.ai/password_reset/ shows an invalid reCAPTCHA error on load.
The Google key for Hesychia is reCAPTCHA v3, and
CAPTCHA_SECRET_KEYis already set for that key.hesychia.aiis already on the key's domain list.The page still mounts
react-google-recaptchawithsize="invisible". That package is a v2 widget. Google rejects a v3 site key in a v2 widget before the form is submitted.Fix
Load reCAPTCHA v3 (
api.js?render=SITE_KEY) and sendgrecaptcha.execute(siteKey, { action: 'password_reset' })asrecaptchaToken.The backend already verifies v3 tokens and rejects a score under 0.5. No backend change.
Site key stays
6LfENu4qAAAAAFtPejcrP3dwBDxcRPjqi7RhytJJ, the pair of the secret already in the secrets file.