mirror of
https://github.com/pelican-dev/panel.git
synced 2026-07-15 21:48:08 +03:00
Don’t bother running this locally, it’s not meant to
This commit is contained in:
@@ -19,6 +19,10 @@ class VerifyReCaptcha
|
||||
return $next($request);
|
||||
}
|
||||
|
||||
if (app()->isLocal()) {
|
||||
return $next($request);
|
||||
}
|
||||
|
||||
if ($request->filled('g-recaptcha-response')) {
|
||||
$client = new Client();
|
||||
$res = $client->post(config('recaptcha.domain'), [
|
||||
|
||||
Reference in New Issue
Block a user