diff --git a/includes/SpecialContact.php b/includes/SpecialContact.php index 8b11c00..e580289 100644 --- a/includes/SpecialContact.php +++ b/includes/SpecialContact.php @@ -438,12 +438,12 @@ class SpecialContact extends UnlistedSpecialPage private function verifyCaptcha($recaptchaResponse) { - global $wgRequest; + global $wgRequest, $wgReCaptchaSecretKey; $x = $wgRequest->getHeader("REMOTE_ADDR"); echo $x; $post_data = http_build_query( array( - 'secret' => CAPTCHA_SECRET, + 'secret' => $wgReCaptchaSecretKey, 'response' => $_POST['g-recaptcha-response'], 'remoteip' => $_SERVER['REMOTE_ADDR'] )