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
hCaptcha is a new alternative to ReCaptcha with the same API, but uses a bit different URL with the same arguments. Even Clodflare and DigitalOcean is moving to hCaptcha from ReCaptcha. Unfortunaley, there's none Symfony bundles which provides hCaptcha's support.
Maybe someone has plans to implement hCaptcha in this bundle? Since it makes little sense to create a separate bundle if these two captchas are implemented almost identically.
The text was updated successfully, but these errors were encountered:
But there are quite a few locations in this bundle which would need to be modified/swapped based on which is used.
For example: https://github.com/excelwebzone/EWZRecaptchaBundle/blob/master/src/Form/Type/EWZRecaptchaType.php#L78
Although you can change the hostname from www.google.com to www.hcaptcha.com the path is still hard-coded here, and this URL doesn't exist: https://www.hcaptcha.com/recaptcha/api.js
It needs to be: https://www.hcaptcha.com/1/api.js
Finally I think additional Twig templates may be necessary for hCaptcha.
It's an interesting concept, it just depends if there's enough demand to justify someone spending time working on adding this feature. I'd love to do it myself but I don't have any clients using hCaptcha yet.
hCaptcha is a new alternative to ReCaptcha with the same API, but uses a bit different URL with the same arguments. Even Clodflare and DigitalOcean is moving to hCaptcha from ReCaptcha. Unfortunaley, there's none Symfony bundles which provides hCaptcha's support.
Maybe someone has plans to implement hCaptcha in this bundle? Since it makes little sense to create a separate bundle if these two captchas are implemented almost identically.
The text was updated successfully, but these errors were encountered: