1.2.0
WARNING! This is a backward compatibility breaking release for OneTimePassword and ExpiredPassword behaviors.
Major refactoring of behaviors, including:
- Moved one time password and expired password module properties and constants into respective behaviors and introduced a new
UsrModule.loginFormBehaviors
property. To enable those behaviors, they need to be configured through this new property. - Allow form behaviors to alter the owners rules, for example removing authentication for the reset scenario if the
UserIdentity.resetPassword()
method performs authentication itself - Attaching custom behaviors to the LoginForm allows to attach beforeLogin and afterLogin events, which can change the LoginForm scenario and load a different view
- Added
register
console command - When changing the password via profile update page, the new password is now just compared to the old one instead of calling
authenticate()