diff options
author | Erik Johnston <erik@matrix.org> | 2016-01-25 15:56:31 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-01-25 15:56:31 +0000 |
commit | 3a75159832933f5a1906cc1b4a6fccb59724b65f (patch) | |
tree | 810fd53c047462a2376d9df64e2a7a862183ce20 | |
parent | Merge branch 'erikj/filters' of github.com:matrix-org/synapse into develop (diff) | |
parent | Underscores are allowed in user ids (diff) | |
download | synapse-3a75159832933f5a1906cc1b4a6fccb59724b65f.tar.xz |
Merge pull request #521 from matrix-org/erikj/underscores
Underscores are allowed in user ids
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/register.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/register.py b/synapse/handlers/register.py index 1e99c1303c..c11b98d0b7 100644 --- a/synapse/handlers/register.py +++ b/synapse/handlers/register.py @@ -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 ) |