Password warning hooks and user deactivation reason stored
There is a new signal password_will_expire_warning
and methods should_warn_about_password_expiry
, and days_to_password_expiry
to help with writing custom code to warn the users when their password is about to expire.
The reason why a user has been deactivated is stored now in the new UserDeactivation
table.