[wp-trac] [WordPress Trac] #32949: Filling out the second password box, automatically fills out the first one

WordPress Trac noreply at wordpress.org
Thu Jul 9 18:27:17 UTC 2015


#32949: Filling out the second password box, automatically fills out the first one
-----------------------------+-----------------------------
 Reporter:  kosvrouvas       |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:  trunk
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 Typing a password on the second box automatically fills out the first one
 during WordPress installation, this is tested on trunk

 Quoting @ocean90


 {{{
   That's because of the Better Passwords project, there is a line in
   wp-admin/js/user-profile.js which does

            /**
            * 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.
            */
         pw_field2.on( 'input propertychange', function() {
             pw_field.val( pw_field2.val() );
             pw_field.trigger( 'propertychange' );
         } );

 Because /wp-admin has only one password field now.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32949>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list