Skip to content

Commit

Permalink
Use recaptcha.net instead of google.com (EU Cookies law)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Eseperio authored Mar 11, 2024
1 parent 29a878f commit 4af4a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/User/Widget/ReCaptchaWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ protected function registerClientScript()
$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,
Expand Down

0 comments on commit 4af4a19

Please sign in to comment.