From c55e4633108c9c17acdaf6673a290837e0f18e14 Mon Sep 17 00:00:00 2001 From: Christoph Kappestein Date: Wed, 1 Jan 2025 21:59:30 +0100 Subject: [PATCH] fix user agent --- www/src/Service/CaptchaVerifier.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/src/Service/CaptchaVerifier.php b/www/src/Service/CaptchaVerifier.php index 9020c1b..7bf2191 100644 --- a/www/src/Service/CaptchaVerifier.php +++ b/www/src/Service/CaptchaVerifier.php @@ -25,7 +25,7 @@ public function verify(?string $recaptchaResponse): bool $response = $this->httpClient->post('https://www.google.com/recaptcha/api/siteverify', [ 'headers' => [ - 'User-Agent' => 'typeschema.org' + 'User-Agent' => 'typeapi.org' ], 'form_params' => [ 'secret' => $this->secret,