changed some things

This commit is contained in:
Nils 2025-04-15 20:25:39 +02:00
parent 0b9a558727
commit b2ae6cef8f
Signed by: slinicraftet204
GPG Key ID: 78E12696BAFC2A4B
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{
"name": "slinicraftet204/turnstileremaster",
"description": "CloudFlare Turnstile Captcha",
"version": "0.1.07-alpha",
"version": "0.1.08-alpha",
"type": "shopware-platform-plugin",
"license": "MIT",
"authors": [

View File

@ -4,7 +4,7 @@
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<services>
<service id="TurnstileReMaster\Storefront\Framework\Captcha\CloudFlareTurnstile" public="true">
<service id="TurnstileReMaster\Storefront\Framework\Captcha\cloudFlareTurnstile" public="true">
<!-- Inject the standard Shopware PSR-18 HTTP client -->
<argument type="service" id="Psr\Http\Client\ClientInterface"/>
<!-- Inject the standard logger -->

View File

@ -9,7 +9,7 @@ use Shopware\Storefront\Framework\Captcha\AbstractCaptcha;
use Symfony\Component\HttpFoundation\Request;
use Throwable;
final class CloudFlareTurnstile extends AbstractCaptcha
final class cloudFlareTurnstile extends AbstractCaptcha
{
public const CAPTCHA_NAME = 'cloudFlareTurnstile';
public const CAPTCHA_REQUEST_PARAMETER = 'cf-turnstile-response';