[wp-trac] [WordPress Trac] #56544: When resetting the password, inputting spaces on the left or right accepts and shows a successful reset password message. But when trying to login into the account without those spaces, it successfully logged me in.

WordPress Trac noreply at wordpress.org
Sun Sep 11 06:53:20 UTC 2022


#56544: When resetting the password, inputting spaces on the left or right accepts
and shows a successful reset password message. But when trying to login
into the account without those spaces, it successfully logged me in.
----------------------------------+----------------------------------------
 Reporter:  islammdshariful       |       Owner:  (none)
     Type:  defect (bug)          |      Status:  new
 Priority:  normal                |   Milestone:  Awaiting Review
Component:  Login and             |     Version:  6.0.2
  Registration                    |
 Severity:  normal                |  Resolution:
 Keywords:  needs-patch           |     Focuses:  privacy, coding-standards
----------------------------------+----------------------------------------

Comment (by jakariaistauk):

 Good Catch @islammdshariful. I also got the issue on creating new user. I
 create user with password which contains spaces like ' 1234 ' but at login
 time it works without space means '1234'.

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


More information about the wp-trac mailing list