Issue when replacing of the recaptcha element by fallback challenge.

Created on 9 December 2021, over 3 years ago
Updated 11 March 2023, about 2 years ago

Problem/Motivation

There is a recaptcha_v3_pre_captcha_element_processused in recaptcha_v3.module.

1. recaptcha_v3_pre_captcha_element_process get called when contact page is loading but $form_state->isProcessingInput() get failed.

2. recaptcha_v3_pre_captcha_element_process does not get called on normal submit (Submit form without fulfil required field).

3. But function recaptcha_v3_pre_captcha_element_process get called on ajax submit (Submit form without fulfil required field).

4. On ajax submit, $form_state->isProcessingInput() returns true, Eventhough, there is not any input has been entered.

5. So $challenge is set after clicking on submit button and recaptcha get appeared, even though form is not validated and trying to submit the form by ajax.

5. Can we add relevant check over there for specific to ajax call So it won't get call or should We check some response from captcha for particular ajax call?

🐛 Bug report
Status

Closed: cannot reproduce

Version

1.3

Component

Code

Created by

🇮🇳India Rajesh Kairamkonda

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇦Ukraine dench0

    I can't reproduce it. If you still experience this issue pls reopen the issue and provide more detailed instructions on how to reproduce it.

Production build 0.71.5 2024