Revert changes from main-test and updated Addon to newer Version
This commit is contained in:
parent
b6bbe645ef
commit
5957b5586f
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
composer.phar/
|
||||||
|
/composer.phar
|
||||||
|
.idea
|
||||||
|
|
@ -7,10 +7,13 @@
|
|||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Melvin Achterhuis"
|
"name": "Melvin Achterhuis"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Nils Gerhardt | SLINIcraftet204"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"shopware/core": "6.4.*",
|
"shopware/core": "6.5.*",
|
||||||
"ext-curl": "*"
|
"ext-curl": "*"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"captcha": {
|
"captcha": {
|
||||||
"cloudFlareTurnstile": {
|
"cloudFlareTurnstile": {
|
||||||
"dataProtectionInformation": "This site is protected by Turnstile and the CloudFlare <a href=\"https://www.cloudflare.com/en-gb/privacypolicy/\">Privacy Policy</a> and <a href=\"https://www.cloudflare.com/en-gb/website-terms/\">Terms of Service</a> apply."
|
"dataProtectionInformation": "Dieser Shop wird durch CloudFlare Turnstile geschützt <a href=\"https://www.cloudflare.com/en-gb/privacypolicy/\">Privacy Policy</a> and <a href=\"https://www.cloudflare.com/en-gb/website-terms/\">Terms of Service</a> apply."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -28,7 +28,7 @@ class CloudFlareTurnstile extends AbstractCaptcha
|
|||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* {@inheritdoc}
|
||||||
*/
|
*/
|
||||||
public function isValid(Request $request /* , array $captchaConfig */): bool
|
public function isValid(Request $request , array $captchaConfig): bool
|
||||||
{
|
{
|
||||||
if (\func_num_args() < 2 || !\is_array(func_get_arg(1))) {
|
if (\func_num_args() < 2 || !\is_array(func_get_arg(1))) {
|
||||||
Feature::triggerDeprecationOrThrow(
|
Feature::triggerDeprecationOrThrow(
|
||||||
|
Reference in New Issue
Block a user