Captcha result is always valid, if it's disabled on the page (allows
the form submission to go through)
Patch by fu.
diffs (14 lines):
diff -r 2870a0a553f5 -r a7aa86b62ca8 cgi-bin/DW/Captcha.pm
--- a/cgi-bin/DW/Captcha.pm Thu Jul 29 08:07:28 2010 +0000
+++ b/cgi-bin/DW/Captcha.pm Thu Jul 29 01:20:07 2010 -0700
@@ -86,7 +86,9 @@ sub print {
sub validate {
my ( $self, %opts ) = @_;
- return unless $self->enabled;
+
+ # if disabled, then it's always valid to allow the post to go through
+ return 1 unless $self->enabled;
$self->init_opts( %opts );
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog