This commit is contained in:
BuTaMuH
2018-03-13 22:31:49 +07:00
parent be866448ef
commit ca0079795f

View File

@ -63,7 +63,7 @@ class ReCaptchaComponent extends Component
] ]
)) ))
->get( ->get(
'site/verify', 'siteverify',
[ [
'secret' => $this->secret, 'secret' => $this->secret,
'response' => $value, 'response' => $value,
@ -72,6 +72,6 @@ class ReCaptchaComponent extends Component
) )
->send(); ->send();
return $response['success'] ? : false; return $response->getData()['success'] ? : false;
} }
} }