[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
Mon Apr 4 03:15:17 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 needs-refresh needs- | Focuses:
testing |
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):
* keywords: has-patch has-testing-info commit => has-patch needs-refresh
needs-testing
Comment:
Doing some branch testing with JavaScript disabled.
Entering ` space` (please note the leading space) in both the password and
confirmation fields results in the error message "Error: The passwords do
not match."
This is because the password field, `pass1`, is trimmed but the
confirmation field, `pass2`, is not. If WordPress must preprocess password
fields, then the confirmation field will need to be preprocessed too.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35500#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list