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.
When editing a user profile, if the password field is left blank and it does not get focus it shouldn't be reported as "weak", since obviously it means I will keep the current password.
Expected behavior: The password strength indicator is activated only when the password field gets focus. This is in line with earlier versions of the module.
Actual behavior: The password strength indicator is always active, meaning that if the field is untouched (i.e., I simply don't want to change password and that field never gets focus) the password is reported as "weak"; this may confuse users.
Screenshot:
Comment | File | Size | Author |
---|---|---|---|
#5 | password_strength-2316655-5.patch | 767 bytes | mkhamash |
Comments
Comment #1
markhalliwellComment #3
pescetti CreditAttribution: pescetti commentedThanks, I confirm it works for me now.
Comment #5
mkhamash CreditAttribution: mkhamash commentedUpload the patch file so make files can use it as a patch.
Comment #6
markhalliwellThanks :) FWIW though, you really don't have to. You can easily use the patch URL in the Cgit repo UI:
http://cgit.drupalcode.org/bootstrap/patch/?id=6ac8dd87182768d7d6af3d748...
Step 1:
Step 2:
Step 3: