- Issue created by @jErry_jakcson
CAPTCHA persistence settings are ignored when using certain CAPTCHA types, such as reCAPTCHA or Turnstile. As a result, the CAPTCHA is always displayed on forms, regardless of the configured persistence options.
This issue occurs because when the cacheable
attribute is set in hook_captcha_captcha
, the CAPTCHA module does not update the CAPTCHA status to 'resolved' after a successful completion. As a result, persistence fails, as it primarily depends on the status being correctly updated.
/admin/config/people/captcha
, select the option "Omit challenges on all forms once the user successfully responds to any challenge on the site."Fix how captcha status is handled when cacheable
attribute is set.
Active
2.0
Code