Update to Laravel 5.5 (#814)
This commit is contained in:
parent
f9df463d32
commit
b9d67459b2
35 changed files with 1021 additions and 818 deletions
app/Http/Middleware
|
@ -39,7 +39,7 @@ class VerifyReCaptcha
|
|||
return $next($request);
|
||||
}
|
||||
|
||||
if ($request->has('g-recaptcha-response')) {
|
||||
if ($request->filled('g-recaptcha-response')) {
|
||||
$client = new Client();
|
||||
$res = $client->post($this->config->get('recaptcha.domain'), [
|
||||
'form_params' => [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue