What did you do? ================ 1. I have a MDN account with a username that contains a space 2. I visited my profile page to edit it: https://developer.mozilla.org/en-US/profiles/myname%20here/edit (the actual link uses Rob%20W). 3. I changed some fields and clicked on "Save changes" What happened? ============== Error: "Username may contain only letters, numbers, and these characters: . - _ +" What should have happened? ========================== The form should have allowed me to change my profile without my username (which I've had since 2011/2012). OR MDN should treat spaces as underscores and vice versa. Is there anything else we should know? ======================================
Luke, is there a decision whether or not we allow spaces in usernames?
Severity: normal → minor
Component: General → User management
Flags: needinfo?(lcrouch) → needinfo?(jezdez)
Yeah, when we refactored the auth system to add GitHub we had to decide for a good pattern and chose the one that is both supported by Django and the library we use for 3rd party auth services django-allauth. It doesn't contain whitespaces. The OP probably still had an account from before that refactor and the login kept working since the Persona account was attached to the email address and not the username (which is a MDN specific addition).
You need to log in before you can comment on or make changes to this bug.