mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-20 00:34:44 +02:00
Don’t bother running this locally, it’s not meant to
This commit is contained in:
parent
0a6c43ba4f
commit
01f63f7122
@ -19,6 +19,10 @@ class VerifyReCaptcha
|
|||||||
return $next($request);
|
return $next($request);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (app()->isLocal()) {
|
||||||
|
return $next($request);
|
||||||
|
}
|
||||||
|
|
||||||
if ($request->filled('g-recaptcha-response')) {
|
if ($request->filled('g-recaptcha-response')) {
|
||||||
$client = new Client();
|
$client = new Client();
|
||||||
$res = $client->post(config('recaptcha.domain'), [
|
$res = $client->post(config('recaptcha.domain'), [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user