diff --git a/app/Services/Captcha/Drivers/RecaptchaV2CaptchaDriver.php b/app/Services/Captcha/Drivers/RecaptchaV2CaptchaDriver.php index 04d0a157..7c9a8062 100644 --- a/app/Services/Captcha/Drivers/RecaptchaV2CaptchaDriver.php +++ b/app/Services/Captcha/Drivers/RecaptchaV2CaptchaDriver.php @@ -45,7 +45,7 @@ class RecaptchaV2CaptchaDriver implements CaptchaDriverInterface '%s
%s', htmlspecialchars($label, ENT_QUOTES, 'UTF-8'), $attributes, - '' + '' ); } @@ -74,7 +74,7 @@ class RecaptchaV2CaptchaDriver implements CaptchaDriverInterface $data['remoteip'] = $remoteIp; } - $result = $this->sendVerificationRequest('https://www.google.com/recaptcha/api/siteverify', $data); + $result = $this->sendVerificationRequest('https://www.recaptcha.net/recaptcha/api/siteverify', $data); if (!($result['success'] ?? false)) { throw new CaptchaValidationException('Captcha verification failed.');