Use recaptcha.net instead of google.com (EU Cookies law)
Recaptcha supports two domains: Google and recaptcha.net. The former may involve more cookies than desired, potentially leading to legal issues for the host. Using the latter has fewer implications.
This commit is contained in:
@ -113,7 +113,7 @@ class ReCaptchaWidget extends InputWidget
|
|||||||
$view = $this->getView();
|
$view = $this->getView();
|
||||||
|
|
||||||
$view->registerJsFile(
|
$view->registerJsFile(
|
||||||
'//www.google.com/recaptcha/api.js?hl=' . $this->getLanguageCode(),
|
'//www.recaptcha.net/recaptcha/api.js?hl=' . $this->getLanguageCode(),
|
||||||
[
|
[
|
||||||
'position' => View::POS_HEAD,
|
'position' => View::POS_HEAD,
|
||||||
'async' => true,
|
'async' => true,
|
||||||
|
|||||||
Reference in New Issue
Block a user