Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Gawdl3y committed Dec 22, 2015
1 parent 02ec664 commit 792d61d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RecaptchaServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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!');
Expand Down

0 comments on commit 792d61d

Please sign in to comment.