Skip to content

Commit

Permalink
fix SERVER ip request
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwinchester committed Jan 25, 2016
1 parent ec6fc72 commit d9031dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Validators/SpamRecaptchaValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function validate($request, $params = [])

$response = $recaptcha->verify(
$request->get('g-recaptcha-response'),
$request->server('REMOTE_IP')
$request->server('REMOTE_ADDR')
);

if (! $response->isSuccess()) {
Expand Down

0 comments on commit d9031dc

Please sign in to comment.