The function is supposed to only add the elements that are passed in an $options array. Right now, it's turning on both honeypot and time restrictions if you have either honeypot or time_restriction (or both!) set. The problem is inside the honeypot_add_form_protection() function - just a typo.

I've fixed locally, will push up a commit asap, and push out a 1.1 release to fix this critical bug.

Comments

geerlingguy’s picture

Status: Active » Fixed

See: http://drupalcode.org/project/honeypot.git/commit/4055d2f

Tagged a 7.x-1.1 release to fix this bug.

Status: Fixed » Closed (fixed)

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