diff --git a/app/Http/Middleware/VerifyReCaptcha.php b/app/Http/Middleware/VerifyReCaptcha.php index b5bd8cab0..224b3f241 100644 --- a/app/Http/Middleware/VerifyReCaptcha.php +++ b/app/Http/Middleware/VerifyReCaptcha.php @@ -17,7 +17,7 @@ class VerifyReCaptcha */ public function handle($request, Closure $next) { - if (!config('recaptcha.enabled')) return next($request); + if (!config('recaptcha.enabled')) return $next($request); $response_domain = null;