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); } }