I've been building an enhanced password policy module for Magento 1.9, the specifics of which aren't causing a problem.
At the moment it hooks into
admin_user_validate, fired from
Mage_Admin_Model_User:563 event and validates the
$observer->getUser()->getData('new_password'), which works fine when validating password changes for existing users, however I can't seem to get it to work for validating a new user's password.
I can see from
Mage_Admin_Model_User that the event is only fired within the
if ($this->hasNewPassword()) conditional, which wouldn't be triggered by a new user, so I guess my question is, does anyone know if there is another event that is triggered by both new and existing users, or is there a better way to validate password changes, preferably via an observer.
Any help is appreciated.