diff options
Diffstat (limited to 'modules/recaptcha/libraries/Form_Recaptcha.php')
-rw-r--r-- | modules/recaptcha/libraries/Form_Recaptcha.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/recaptcha/libraries/Form_Recaptcha.php b/modules/recaptcha/libraries/Form_Recaptcha.php index 271045c2..307b4ef5 100644 --- a/modules/recaptcha/libraries/Form_Recaptcha.php +++ b/modules/recaptcha/libraries/Form_Recaptcha.php @@ -65,7 +65,8 @@ class Form_Recaptcha_Core extends Form_Input { $challenge = $input->post("recaptcha_challenge_field", "", true); $response = $input->post("recaptcha_response_field", "", true); if (!empty($challenge)) { - $this->_error = recaptcha::is_recaptcha_valid($challenge, $response); + $this->_error = recaptcha::is_recaptcha_valid( + $challenge, $response, module::get_var("recaptcha", "private_key")); if (!empty($this->_error)) { $this->add_error($this->_error, 1); } |