Skip to content

Commit

Permalink
[BUGFIX] Fix syntax error in Configuration object
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz-ngo committed Jun 18, 2024
1 parent 2b103cd commit 1611408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 1611408

Please sign in to comment.