Username check at account creation doesn't handle CaSe properly

Issue

Attempting to register as Administrator gives the impression it will succeed until you press Create New Account. Trying with administrator correctly presents the username as disallowed.

Reproduce

  1. Press Sign Up button in the upper right corner.
  2. Enter valid email and password.
  3. Enter username: Administrator
  4. The text “Your username is available” appears.
  5. Press Create New Account.
  6. The text “That username is not allowed.” appears at the top.
  7. Enter username: administrator
  8. The text “Not available. Try administrator1?” appears.
4 Likes

Fixed in

https://github.com/discourse/discourse/commit/90a0327fd2d3a62358965f2ea969739213f7a9f8

6 Likes

This topic was automatically closed after 24 hours. New replies are no longer allowed.