I discovered that the honeypot fields weren't being added to my user registration form, so I took a look at the code and it appears as though the ID used for the form isn't correct.

On lines 57 and 60 of honeypot.admin.inc, I changed "honeypot_form_user_register_form" to "honeypot_form_user_register," rechecked the option under Honeypot Configuration and it now works.

BTW, the typo in the title was entirely accidental, but it was funny enough that I left it.

Comments

geerlingguy’s picture

Assigned: Unassigned » geerlingguy
Priority: Normal » Major
Status: Active » Needs review
StatusFileSize
new1.47 KB

lol @ the title... very fitting!

I'm attaching a patch which fixes the problem and also runs an update to pull in the value from the old version of the module. Could you apply the patch and test to see whether it works (after applying the patch, run update.php). I'll try it myself once I get a few minutes to spin up a Drupal 6 testing environment...

geerlingguy’s picture

Status: Needs review » Reviewed & tested by the community

Well, not the community, but me. I have the install script updated, and it should still work even if you've manually fixed the bug. I'll roll this into 6.x-1.8, hopefully tonight.

geerlingguy’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.