Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix REMOTE_ADDR typo

  • Loading branch information...
commit 5a6fcc9acd8ea8fd52c536ec96e69df3fb2eb954 1 parent d618b36
@jsor jsor authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Service/Recaptcha.php
View
2  Service/Recaptcha.php
@@ -42,7 +42,7 @@ public function __construct(Request $request, $privateKey)
public function isValid($challenge = null, $response = null)
{
$parameters = array(
- 'remoteip' => $this->request->server->get('REMOVE_ADDR', '127.0.0.1'),
+ 'remoteip' => $this->request->server->get('REMOTE_ADDR', '127.0.0.1'),
'privatekey' => $this->privateKey,
'response' => $this->request->get('recaptcha_response_field', $response),
'challenge' => $this->request->get('recaptcha_challenge_field', $challenge),
Please sign in to comment.
Something went wrong with that request. Please try again.