mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 19:54:53 -04:00
M_INVALID_USERNAME to be consistent with the parameter name
This commit is contained in:
parent
3f8db3d597
commit
5819b7a78c
2 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ class RegistrationHandler(BaseHandler):
|
|||
400,
|
||||
"User ID must only contain characters which do not"
|
||||
" require URL encoding.",
|
||||
Codes.INVALID_USER_NAME
|
||||
Codes.INVALID_USERNAME
|
||||
)
|
||||
|
||||
user = UserID(localpart, self.hs.hostname)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue