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.
This code does not look right:
function _password_policy_block_account($account) {
if ($account->uid > 1) {
// We never block the superuser account.
It seems like it should be dependent on the password_policy_admin
variable.
Comments
Comment #1
AohRveTPV CreditAttribution: AohRveTPV commentedThis can wait on #2652394: Refactor expiration code.