Merge pull request #548 from Eseperio/patch-4

Use recaptcha.net instead of google.com (EU Cookies law)
This commit is contained in:
Lorenzo Milesi
2024-03-18 22:20:11 +01:00
committed by GitHub

View File

@ -113,7 +113,7 @@ class ReCaptchaWidget extends InputWidget
$view = $this->getView();
$view->registerJsFile(
'//www.google.com/recaptcha/api.js?hl=' . $this->getLanguageCode(),
'//www.recaptcha.net/recaptcha/api.js?hl=' . $this->getLanguageCode(),
[
'position' => View::POS_HEAD,
'async' => true,