changed some things
This commit is contained in:
parent
0b9a558727
commit
b2ae6cef8f
@ -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": [
|
||||
|
@ -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 -->
|
||||
|
@ -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';
|
||||
|
Loading…
x
Reference in New Issue
Block a user