diff --git a/plugins/recaptcha/index.php b/plugins/recaptcha/index.php index 2aa978a17..bf30f23ea 100644 --- a/plugins/recaptcha/index.php +++ b/plugins/recaptcha/index.php @@ -88,7 +88,7 @@ class RecaptchaPlugin extends \RainLoop\Plugins\AbstractPlugin $bResult = false; $HTTP = \SnappyMail\HTTP\Request::factory(); - $oResponse = $HTTP->doRequest('POST', 'https://www.google.com/recaptcha/api/siteverify', array( + $oResponse = $HTTP->doRequest('POST', 'https://www.recaptcha.net/recaptcha/api/siteverify', array( 'secret' => $this->Config()->Get('plugin', 'private_key', ''), 'response' => $this->Manager()->Actions()->GetActionParam('RecaptchaResponse', '') )); diff --git a/plugins/recaptcha/js/recaptcha.js b/plugins/recaptcha/js/recaptcha.js index 246d7adc2..591d26598 100644 --- a/plugins/recaptcha/js/recaptcha.js +++ b/plugins/recaptcha/js/recaptcha.js @@ -36,7 +36,7 @@ } else if (!script) { script = doc.createElement('script'); // script.onload = ShowRecaptcha; - script.src = 'https://www.google.com/recaptcha/api.js?onload=ShowRecaptcha&render=explicit&hl=' + doc.documentElement.lang; + script.src = 'https://www.recaptcha.net/recaptcha/api.js?onload=ShowRecaptcha&render=explicit&hl=' + doc.documentElement.lang; doc.head.append(script); } };