Skip to content

Commit 4af4a19

Browse files
authored
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.
1 parent 29a878f commit 4af4a19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/User/Widget/ReCaptchaWidget.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ protected function registerClientScript()
113113
$view = $this->getView();
114114

115115
$view->registerJsFile(
116-
'//www.google.com/recaptcha/api.js?hl=' . $this->getLanguageCode(),
116+
'//www.recaptcha.net/recaptcha/api.js?hl=' . $this->getLanguageCode(),
117117
[
118118
'position' => View::POS_HEAD,
119119
'async' => true,

0 commit comments

Comments
 (0)