Skip to content

Commit

Permalink
Merge pull request greggilbert#98 from Gawdl3y/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
greggilbert committed Jan 3, 2016
2 parents 02ec664 + 792d61d commit b84d3b4
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 b84d3b4

Please sign in to comment.