Skip to content

Commit 8f7341e

Browse files
committed
Use the correct secret for recaptcha.
1 parent 8c48fc3 commit 8f7341e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

htdocs/login_create_processing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
//Check the captcha if it's a standard registration.
196196
if(!$socialLogin && strlen(RECAPTCHA_PRIVATE) > 0) {
197197
require_once(LIB.'External/recaptcha/recaptchalib.php');
198-
$reCaptcha = new ReCaptcha($secret);
198+
$reCaptcha = new ReCaptcha(RECAPTCHA_PRIVATE);
199199
// Was there a reCAPTCHA response?
200200
$resp = $reCaptcha->verifyResponse(
201201
$_SERVER['REMOTE_ADDR'],

0 commit comments

Comments
 (0)