Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#12665 closed defect (bug) (worksforme)

Mixed-case usernames not working

Reported by: roblgs Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.9.2
Component: Users Keywords:
Focuses: Cc:


Setting up new accounts it is possible to use a mixed-case login name, and these get recorded into the database as user_login. When specifying a mixed-case login name there is no warning message to say they are not allowed, and the rendering of the login name is mixed-case when presented within the profile. Nothing to suggest it is anything but mixed-case.

However, trying to login using a mixed-case username fails. This is repeatable.

However, if I try logging in with an all lowercase version of a mixed-case login name then the login succeeds... Despite the fact that he value held as user_login in the database is correctly recorded as mixed case!

The user profile though still correctly displays the login name as mixed-case, it is recorded in the databas as mixed case, but logging in using mixed-case will fail.

Change History (3)

#1 @meheranandk
8 years ago

Seems to be working perfectly here. I am able to login with both XYz as well as xyz successfully.

#3 @nacin
8 years ago

  • Keywords authorisation login admin removed
  • Milestone Unassigned deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Created a user "Mixed Case"

Was able to log in as "Mixed Case" "mixed case" "Mixed case"

Tried to create a user "mixed case", failed due to the existing username.

Note: See TracTickets for help on using tickets.