Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Cleaning up a number of bugs. Removed a database table, and switched to using the user.data service instead. Added tests for the controller and admin form.
Version 7.x-2.0 fixes various bugs reported by users since the last release. It likely should not have any bugs, which is why it is released as a release candidate (RC2)
New functionality:
* Adds password expiry functionality to the module. This allows administrators to force, by role, the expiration of passwords after a certain amount of time.
Removed stats from label tag on settings page. This was causing a bug whereby clicking the link in the stats checked the box (normal HTML behavior), which could result in an inadvertent forced password change for a role if the user came back to the page and clicked 'submit' for a different reason.
Added following features:
* Ability to force individual user to reset their password
* Ability to force individual new user to reset their password on the user creation screen (admins)
* Listing on each user page of when the user was last forced to change their password, when they last changed their password, and whether or not they have a pending password change
* Addition of stats to the force password settings page
* Creation of details page for each role showing details by user
* Added hook_schema_install() to force_password_change.install
* Fixed error reported by andyhu in #769850: Duplicated warning message whereby the error message was sometimes being reported mutliple times
Added setting whereby an admin can set the URL of the page to be redirected to. This is for implementations in which the user password change form has been moved to a non-standard path. This issue was reported by lladnar1 (http://drupal.org/user/183932) in #699476: Change password url