-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Conversation
Unless we also do this in the login API (first trying with the non-squashed mxid, and then retrying with the squashed one if the non-squashed one didn't exist), we risk further UX problems, where the user thinks they've registered |
We do already do it on login. |
(Serverside) |
retest this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discussed this an matrix, but summary is we probably ought to make sure usernames registered via shared secret registration are valid too, and maybe elaborate on why we don't validate appservice userids, otherwise lgtm
Explain why we don't validate userids registered via app services
ok, ptal. |
retest this please |
This has already been reverted on develop and replaced with a better implementation (see PR #2662), but because the 'allow upper-case characters' commit got separately applied to both develop and matrix-org-hotfixes, it hasn't been correctly reverted on matrix-org-hotfixes.
How? |
Force username to lowercase before attempting to register
#2660