diff options
author | Richard van der Hoff <richard@matrix.org> | 2017-11-13 11:56:22 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2017-11-13 11:56:22 +0000 |
commit | 8b33ac8f6c39b9debf89f1e96c72549cae29ae5f (patch) | |
tree | 7b48d39b17a82fa3751f5429b77bd5f7803aa40f /synapse/rest/client/v1/register.py | |
parent | Fix 500 on invalid utf-8 in request (diff) | |
parent | Revert "move _state_group_cache to statestore" (diff) | |
download | synapse-8b33ac8f6c39b9debf89f1e96c72549cae29ae5f.tar.xz |
Merge branch 'develop' into rav/invalid_request_utf8
Diffstat (limited to 'synapse/rest/client/v1/register.py')
-rw-r--r-- | synapse/rest/client/v1/register.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/register.py b/synapse/rest/client/v1/register.py index ecf7e311a9..32ed1d3ab2 100644 --- a/synapse/rest/client/v1/register.py +++ b/synapse/rest/client/v1/register.py @@ -359,7 +359,7 @@ class RegisterRestServlet(ClientV1RestServlet): if compare_digest(want_mac, got_mac): handler = self.handlers.registration_handler user_id, token = yield handler.register( - localpart=user, + localpart=user.lower(), password=password, admin=bool(admin), ) |