From 1611408c83c49e306e25adee86854c9a5fab6c20 Mon Sep 17 00:00:00 2001 From: Moritz Ngo Date: Tue, 18 Jun 2024 12:06:42 +0200 Subject: [PATCH] [BUGFIX] Fix syntax error in Configuration object --- Classes/Configuration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Configuration.php b/Classes/Configuration.php index 0b03499..591cfe0 100644 --- a/Classes/Configuration.php +++ b/Classes/Configuration.php @@ -86,6 +86,6 @@ public function hasSkipHeaderValidation(): bool if (strlen($validationName) < 30) { return false; } - return $request && $request->hasHeader('X-FriendlyCaptcha-Skip-Validation') && in_array($validationName, $request->getHeader('X-FriendlyCaptcha-Skip-Validation'), truex); + return $request && $request->hasHeader('X-FriendlyCaptcha-Skip-Validation') && in_array($validationName, $request->getHeader('X-FriendlyCaptcha-Skip-Validation'), true); } }