Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.

hCaptcha #339

Open
Tobbe opened this issue Mar 30, 2020 · 3 comments
Open

hCaptcha #339

Tobbe opened this issue Mar 30, 2020 · 3 comments

Comments

@Tobbe
Copy link

Tobbe commented Mar 30, 2020

Not really a bug report, but I noticed that cloudflare switched to using hCaptcha instead of reCaptcha. Only update I had to do to my script was to set both g-recaptcha-response and h-captcha-response form fields.

    captcha.form['g-recaptcha-response'] = token;
    captcha.form['h-captcha-response'] = token;

I'm not sure if you actually do have to set both, or if h-captcha-response is enough, but they do have both fields in their form and just g-recaptcha-response is not enough.

@SwenenzY
Copy link

Working or have you found a solution?

@Tobbe
Copy link
Author

Tobbe commented Apr 14, 2020

It's working fine. But if this is a change that they've made across the board I think some of the examples here needs to be updated :)

@narra-dev
Copy link

I use both lines too

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants