Prevent confusing password strength indicator when field is empty and not being edited

Created on 11 June 2019, about 5 years ago
Updated 30 January 2023, over 1 year ago

Problem/Motivation

The password field strength indicator will never have the original state one some value is introduced. If the user introduces a value, deletes it and move to another field the indicator will always display the 'weak' status with the bar indicator and the 'weak' label.

This behavior is confusing as long a non-existing password should not be indicated with any strength. If nothing is set to the password and is not in the editing process the field should have the original state.

Proposed resolution

Add a check in the user.js behavior for the password to check the value when is focused out to cleanup the indicator state.

πŸ“Œ Task
Status

Needs work

Version

9.5

Component
User systemΒ  β†’

Last updated 1 day ago

Created by

πŸ‡ͺπŸ‡ΈSpain quiron Barcelona

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • The Needs Review Queue Bot β†’ tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".

    Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.

    Consult the Drupal Contributor Guide β†’ to find step-by-step guides for working with issues.

Production build 0.71.5 2024