You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to add recaptcha on site. I use recaptcha v3 and if it false then i add v2 to the form with remote: true.
like that: $("#captcha-v2-<%= @modal %>").html("<%= j recaptcha_tags(site_key: Rails.application.credentials.recaptcha_v2['site_key']) %>");
However v3 works fine, but v2 always false.
what i tried:
i add grecaptcha.reset() But i think it is useless cause js create a new recaptcha every time after fail. So i add it just incase.
Also i tried to do form without remote true.
I checked keys and tried to do the same as in example. I do not want to use Stimulus and turbo for my site, but i added them for test.
And i tried to create another pair of keys, just incase something is wrong with mine, and i tried to use google test keys.
I tried hCaptcha too, but it leads to error for executeRecaptchaFor....
And anyway recaptcha is false. I have no idea why is that happening. Do anyone know what`s wrong?
The text was updated successfully, but these errors were encountered:
I tried to add recaptcha on site. I use recaptcha v3 and if it false then i add v2 to the form with
remote: true
.like that:
$("#captcha-v2-<%= @modal %>").html("<%= j recaptcha_tags(site_key: Rails.application.credentials.recaptcha_v2['site_key']) %>");
However v3 works fine, but v2 always false.
my controller looks like that:
what i tried:
i add
grecaptcha.reset()
But i think it is useless cause js create a new recaptcha every time after fail. So i add it just incase.Also i tried to do form without
remote true
.I checked keys and tried to do the same as in example. I do not want to use Stimulus and turbo for my site, but i added them for test.
And i tried to create another pair of keys, just incase something is wrong with mine, and i tried to use google test keys.
I tried hCaptcha too, but it leads to error for executeRecaptchaFor....
And anyway recaptcha is false. I have no idea why is that happening. Do anyone know what`s wrong?
The text was updated successfully, but these errors were encountered: