Password Stats
This module provides a drush command and a status line in the requirements table with information about stored password hashes.
Drupal uses the default PHP password_hash() and password_verify() functions in order to store and verify passwords securely since Drupal 10.1.x. User entities created with an older version might still have hashes generated with the previous password hashing algorithm.
This module displays the total number of stored password hashes along with the number of active users with password hashes generated prior to Drupal 10.1.0.
It also displays a recommendation to disable the Password Compatibility module if no active users with passwords hashed by Drupal prior to 10.1.0 were found on a site.
- For a full description of the module, visit the project page.
- To submit bug reports and feature suggestions, or to track changes, use the issue queue.
Table of contents
- Requirements
- Installation
- Usage
- Maintainers
Requirements
Drupal 10.1.x or better. No other modules are required.
Installation
- Install as you would normally install a contributed Drupal module. For further information, see Installing Drupal Modules.
Usage
Drush
password_stats: password_stats:legacy Returns the number of stored passwords hashed with legacy algorithms. password_stats:total Returns the total number of hashed passwords.
Status report
Navigate to Administration › Reports › Status report and review the information under the Password Compatibility heading.
Maintainers
Current maintainers
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 2.1.0 | Stable | Drupal 11 compatibility | Nov 28, 2024 |