anhskohbo / no-captcha

No CAPTCHA reCAPTCHA For Laravel.
https://packagist.org/packages/anhskohbo/no-captcha
MIT License
1.77k stars 234 forks source link

Please Add Global Support - Here's how. #143

Open Ratstang opened 5 years ago

Ratstang commented 5 years ago

reCaptcha is blocked in many countries due to Google's domain being blocked. (China being an example.) When google is blocked the users never see the captcha show up, so they can't get past the Captcha validation. This restricts what users can use/register to your site.

One solution that seems to be easy fix is right in Googles docs: https://developers.google.com/recaptcha/docs/faq#can-i-use-recaptcha-globally

Simply replace: https://www.google.com/recaptcha/api.js with https://www.recaptcha.net/recaptcha/api.js

Looking at your source you would only have to change line 10 and 11 of NoCaptcha.php to allow Global usage. Possibly you could put this as an optional feature in the config file, where users can easily switch between the two?

boooyu44 commented 4 years ago

+1 this, very smart discovery... simple thing but can have an impact

cdrum commented 4 years ago

+1 please