Don’t bother running this locally, it’s not meant to

This commit is contained in:
Lance Pioch 2024-04-11 20:34:57 -04:00
parent 0a6c43ba4f
commit 01f63f7122

View File

@ -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'), [