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.
Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Download password_policy-7.x-2.0-alpha2.tar.gztar.gz
25.42 KB
MD5: 247e8c272c9193214d2b193f8868216b
SHA-1: 917e3d8013b8571b98843599f00db7da3fc9a67a
SHA-256: 7bd77214d03b0985a91217e9a65b028f65636d93c57d369b86f3b4f8f4a668ce
Download password_policy-7.x-2.0-alpha2.zipzip
37.95 KB
MD5: cc3cd2c6163bc8b9f78fee37c04e60a8
SHA-1: 851e2ad21912f1f88491d2264b78317adc5e541c
SHA-256: b6a3f3e3cc5e911ea87c45fcb298f40d4f6b263b5dbc885900aa215f6c44890c
Release notes
IMPORTANT: If your site used Password Policy 6.x in the past:
- You should back up your database prior to applying this update to minimize risk of losing password history due to unforeseen update problems.
- Be warned that the database updates might take a long time to run for sites with many users.
New constraints:
- Blacklist (#2134997 by AohRveTPV, sjpatrick, deekayen: Added Create password blacklist.)
- Delay (#2174359 by joelstein: Add delay constraint)
- Drupal strength (#1815660 by coltrane, alfaguru: Added Implement simple integer-based constraint for overall "strength".)
New conditions:
- Authentication systems (#1888366 by erikwebb, AohRveTPV, cspiker, Sborsody, stevecory: Added Password Policy should optionally ignore users managed by other modules.)
Other changes since 7.x-2.0-alpha1:
- Updated history schema from 1.x.
- #2285687 by pc-wurm: Make config property in test file more readable
- #2282977 by mizage, AohRveTPV: Fixed error running update 7201.
- #2282351 by AohRveTPV: Delay constraint test logic reversed.
- #1924118 by mrfelton, erikwebb, coltrane: Fixed Do not redirect users to their account page when their password is expired when validating accounts.
- #2041717 by tanc, coltrane, RoySegall: Fixed Apply the password policy for anonymous users/user creation.
- #2268581 by AohRveTPV, jrglasgow, deekayen: Fixed username constraint not saving setting.
- #2076837 by AohRveTPV, tatyana, dyslabpro: Fixed Password policy module is filling in watchdog with errors on cron run.
- #1888366 by erikwebb, AohRveTPV, cspiker, Sborsody, stevecory: Added Password Policy should optionally ignore users managed by other modules.
- #2277879 by AohRveTPV: Fixed "Can not" should be "cannot" in various places.
- #2028507 by AohRveTPV, erikwebb, bramtenhove: Fixed Internet Explorer crashes on faulty JavaScript.
- #2270103 by pc-wurm: Make config property of 'Example Policy' more readable
- #2202779 by pontus_nilsson: Can't translate "$sus_count of $count"
- #2206091 by esolano: “1” printed instead of "description"
- #2072171 by coltrane: encoding the password muddles which requirements are met
- #2127421 by jsagotsky: Consecutive constraint's regex doesn't work.
- #2131757 by hefox: Double records for new user password in password history
- #2012942 by e2thex: reate Static Policy Function to load up a policy
- #1924032 by mrfelton: Allow expiry of password without notification emails
- #2117149 by hefox: trim the password expire mail delivery times
- #2012838 by John Morahan: Javascript callback doesn't work properly
- #2121561 by Sutharsan: Message texts not translatable
- #2144911 by coltrane: Faster tests by moving testCreatePolicy() and testLoadPolicy() out of base test class
- #2041717 by RoySegall,coltrane: Apply the password policy for anonymous users/user creation
- #2006364 by erikwebb: Undefined index: #description in password_policy_password_element_alter()
- #1998862 by ceng: Remove JS focus call
- Cleaned up various code per coding standards.