I had a problem with captcha_comment throwing an error in the validate switch even when it was configured not to require captcha from registered users. It (correctly) doesn't show a captcha image when configured this way, but it still performs the validation check, which leaves the user trapped.
I added the following code to captcha_comment write after case 'validate':
if(variable_get('captcha_comment_registered','true')=='false') {
return;
}
Comments
Comment #1
Alice Heaton commentedI have a similar problem : I use captcha for registration, not for comments. However, I cannot add comments and get the following error message :
Even though there are no captchas to fill in.
The good news is that the patch from drumdance fixed my problem as well (thanks !). I am not sure what the conditions are for a bug to be "critical" - so I will leave it for now - but I think this bug should be high priority : as it is, captcha cannot be used without enabling it for all types of comments.
Comment #2
heine commentedbe careful; changing the title changes the title of the issue.
Comment #3
wundo commented