mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-19 08:44:19 -05:00
Merge pull request #521 from matrix-org/erikj/underscores
Underscores are allowed in user ids
This commit is contained in:
commit
3a75159832
@ -52,7 +52,7 @@ class RegistrationHandler(BaseHandler):
|
||||
if urllib.quote(localpart.encode('utf-8')) != localpart:
|
||||
raise SynapseError(
|
||||
400,
|
||||
"User ID can only contain characters a-z, 0-9, or '-./'",
|
||||
"User ID can only contain characters a-z, 0-9, or '_-./'",
|
||||
Codes.INVALID_USERNAME
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user