Skip to content

Commit

Permalink
fixed empty response param
Browse files Browse the repository at this point in the history
  • Loading branch information
hryvinskyi committed Jun 11, 2019
1 parent d9b9b58 commit 4104100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/ReCaptcha/VerifyReCaptcha.php
Expand Up @@ -152,7 +152,7 @@ public function verify($response, $remoteIp = null): Response
{
$params = $this->requestParameters
->setSecret($this->getSecret())
->setResponse($response)
->setResponse((string)$response)
->setRemoteIp($remoteIp);

$answer = $this->requestMethod->submit(self::SITE_VERIFY_URL, $params);
Expand Down

0 comments on commit 4104100

Please sign in to comment.