Skip to content

Commit

Permalink
handle null
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Apr 3, 2024
1 parent 7df502c commit 5a4d6e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/src/Service/CaptchaVerifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function __construct(ConfigInterface $config)

public function verify(?string $recaptchaResponse): bool
{
if (empty($recaptchaResponse)) {
if ($recaptchaResponse === null) {
return false;
}

Expand Down

0 comments on commit 5a4d6e2

Please sign in to comment.