patch #166
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user