[wp-trac] [WordPress Trac] #35500: Login page: user can change password on " " but can't log in with new password.

WordPress Trac noreply at wordpress.org
Thu Mar 31 23:50:59 UTC 2022


#35500: Login page: user can change password on " " but can't log in with new
password.
-----------------------------------------------+---------------------------
 Reporter:  antonrinas                         |       Owner:
                                               |  hellofromTonya
     Type:  defect (bug)                       |      Status:  assigned
 Priority:  lowest                             |   Milestone:  6.0
Component:  Login and Registration             |     Version:
 Severity:  normal                             |  Resolution:
 Keywords:  has-patch has-testing-info commit  |     Focuses:
-----------------------------------------------+---------------------------
Changes (by costdev):

 * keywords:  has-patch needs-testing has-testing-info => has-patch has-
     testing-info commit


Comment:

 == Test Report

 === Environment
 * Server: nginx - Local by Flywheel
 * WordPress: 5.9.2
 * Browser: Chrome 99.0.4844.84
 * OS: Windows 10
 * Theme: Twenty Twenty-Two
 * Plugins:
   * Email Log 2.4.8

 === Steps
 1. Go to the Password Reset screen.
 2. Type one or more spaces into both password fields.
 3. Click `Save Password` button. => Notice it let you. ✅
 4. Try to log in with that "space-only" password. => Notice it fails. ✅
 5. Apply patch
 [https://core.trac.wordpress.org/attachment/ticket/35500/35500.1.diff
 35500.1.diff].
 6. Request another password reset and go to the Password Reset screen.
 7. Type one or more spaces into both password fields.
 8. Click `Save Password` button.
 9. This time notice an error message is displayed and the Password Reset
 screen reloads. ✅

 === Results
 1. Issue reproduced.
 2. Patch
 [https://core.trac.wordpress.org/attachment/ticket/35500/35500.1.diff
 35500.1.diff] resolves the issue.

 -----
 - Removing `needs-testing`.
 - Adding `commit` for consideration.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/35500#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list