Title: fruvos's Replies | WordPress.org

---

# fruvos

  [  ](https://wordpress.org/support/users/fruvos/)

 *   [Profile](https://wordpress.org/support/users/fruvos/)
 *   [Topics Started](https://wordpress.org/support/users/fruvos/topics/)
 *   [Replies Created](https://wordpress.org/support/users/fruvos/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/fruvos/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/fruvos/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/fruvos/engagements/)
 *   [Favorites](https://wordpress.org/support/users/fruvos/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Create User With Password Multisite] Password field grey](https://wordpress.org/support/topic/password-field-grey/)
 *  [fruvos](https://wordpress.org/support/users/fruvos/)
 * (@fruvos)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/password-field-grey/#post-17044136)
 * I was experiencing the same issue, but unfortunately [@adamdipardo](https://wordpress.org/support/users/adamdipardo/)
   fix didn’t hold. It did re-enable the password field, however when I then typed
   into the **Repeat Password (required) **box, it would remove text from the **
   Password (required) **input.
 * As well as the above fix, I needed a secondary change which was to update the
   field IDs in cuwp.php to not use the IDs **pass1** and **pass2**. The specific
   issue was being caused by code in the WP core file `user-profile.js` – particularly
   this function
 *     ```wp-block-code
           /*
            * Fix a LastPass mismatch issue, LastPass only changes pass2.
            *
            * This fixes the issue by copying any changes from the hidden
            * pass2 field to the pass1 field, then running check_pass_strength.
            */
           $pass2 = $("#pass2").on("input", function () {
             if ($pass2.val().length > 0) {
               $pass1.val($pass2.val());
               $pass2.val("");
               currentPass = "";
               $pass1.trigger("pwupdate");
             }
           });
       ```
   
 * This particular change is over 8 years old now, so I’m not sure why it’s suddenly
   presenting an issue.
 * However, by changing the field IDs in **cuwp.php **to `cuwp-pass1` and `cuwp-
   pass2` this resolves the issue and I can successfully register users again.
 *     ```wp-block-code
       <tr class="form-field form-required">
           <th scope="row"><label for="cuwp_pass1"><?php _e('Password', 'create-user-with-password-multisite'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th>
           <td><input name="cuwp_pass1" type="password" id="cuwp_pass1" autocomplete="off" /><input class="hidden" value=" " /></td>
       </tr>
   
       <tr class="form-field form-required">
           <th scope="row"><label for="cuwp_pass2"><?php _e('Repeat Password', 'create-user-with-password-multisite'); ?> <span class="description"><?php _e('(required)'); ?></span></label></th>
           <td><input name="cuwp_pass2" type="password" id="cuwp_pass2" autocomplete="off" /></td>
       </tr>
       ```
   

Viewing 1 replies (of 1 total)