From 792d61da9735010c04fb5fa853e7548784ffb38f Mon Sep 17 00:00:00 2001 From: Schuyler Cebulskie Date: Tue, 22 Dec 2015 02:07:51 -0500 Subject: [PATCH] Fix #97 --- src/RecaptchaServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!');