diff --git a/app/Http/Middleware/VerifyReCaptcha.php b/app/Http/Middleware/VerifyReCaptcha.php index 762a9646d..bfe09ce98 100644 --- a/app/Http/Middleware/VerifyReCaptcha.php +++ b/app/Http/Middleware/VerifyReCaptcha.php @@ -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'), [