Problem/Motivation

The password toggle button was getting duplicated when password_policy and password_policy_extras modules were enabled. The issue has been fixed by updating the JavaScript to use Drupal's once API.

Steps to reproduce

Install password_policy.
Go to the user for for an authenticated user.
Type a password.
Observe the "Show" field is duplicated lots of times.

Proposed resolution

Use once.

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

froboy created an issue. See original summary.

froboy’s picture

Status: Active » Needs review