This is just what I'm looking for, but it conflicts with email_verify. It appears that if the password doesn't pass, it stalls email_verify's lookup function.

I changed the loading order so email_verify.module loads after password_policy.module, but they still conflict.

Comments

dayre’s picture

I can't reproduce this. I just got the latest email_verify from HEAD in CVS (v. 1.4) and tried both an invalid e-mail and invalid password for a user, then tried submitting a user update from the users profile page. On submit, i received 2 form errors, one from each module (an invalid email from the email_verify module, and an invalid password from the password_policy module) were displayed on the user form.

Silly question, but are you sure you have the email_verify module enabled ?

There isn't any code in the user hook for my module which would short circuit/stall other user hook calls in other modules, so i'm not sure what the problem is here.

When you say "stalls", do you mean you are seeing a blank screen on form submit ? Or do you mean that it behaves like the email_verify module is not installed (ignored) ?

Christefano-oldaccount’s picture

Status: Active » Closed (fixed)

We're not using email verify on that site anymore. Password policy works fine.