hi,
we will add an option to disable captcha easily.
If you want remove it now, open your "modules/member/member.php" with a text editor. find these lines and delete them:
line 54:
[code]
if (!$_SESSION['login_cd']) {
c( recaptcha_get_html($captcha['publickey'],''));
}
[/code]
and line 77:
[code]
if (!$_SESSION['login_cd']) {
if ($_POST["recaptcha_challenge_field"]) {
$resp = recaptcha_check_answer ($captcha['privatekey'],
$_SERVER["REMOTE_ADDR"],
$_POST["recaptcha_challenge_field"],
$_POST["recaptcha_response_field"]);
if (!$resp->is_valid) {
c('<script language="javascript" >
$(document).ready( function(){
$("#recaptcha_response_field").focus();
});
</script>');
$captchaerror = $resp->error;
$hold = 1;
}
}
else {
c('<script language="javascript" >
$(document).ready( function(){
$("#recaptcha_response_field").focus();
});
</script>');
$hold = 1;
}
}
[/code]
and line 149:
[code]
if (!$_SESSION['login_cd']) {
c( recaptcha_get_html($captcha['publickey'],$captchaerror));
}
[/code]
That's all for the removal of login captcha. |