diff --git a/src/RecaptchaServiceProvider.php b/src/RecaptchaServiceProvider.php index 9223d84..df0b5f7 100644 --- a/src/RecaptchaServiceProvider.php +++ b/src/RecaptchaServiceProvider.php @@ -37,7 +37,7 @@ public function addValidator() { $this->app->validator->extendImplicit('recaptcha', function ($attribute, $value, $parameters) { $captcha = app('recaptcha.service'); - $challenge = app('Input')->get($captcha->getResponseKey()); + $challenge = app('request')->input($captcha->getResponseKey()); return $captcha->check($challenge, $value); }, 'Please ensure that you are a human!');