diff options
author | Erik Johnston <erik@matrix.org> | 2015-08-06 13:35:28 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-08-06 13:35:28 +0100 |
commit | 2efb93af529db0beecd4ff023c9d7f1cdadac0aa (patch) | |
tree | 41f592ee25114a50ae4b699e9d04136942161c3c /synapse/handlers | |
parent | Make @cached cache deferreds rather than the deferreds' values (diff) | |
parent | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/cached_key... (diff) | |
download | synapse-2efb93af529db0beecd4ff023c9d7f1cdadac0aa.tar.xz |
Merge branch 'erikj/cached_keyword_args' into erikj/cache_deferreds
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/identity.py | 2 | ||||
-rw-r--r-- | synapse/handlers/register.py | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/synapse/handlers/identity.py b/synapse/handlers/identity.py index 6200e10775..c1095708a0 100644 --- a/synapse/handlers/identity.py +++ b/synapse/handlers/identity.py @@ -44,7 +44,7 @@ class IdentityHandler(BaseHandler): http_client = SimpleHttpClient(self.hs) # XXX: make this configurable! # trustedIdServers = ['matrix.org', 'localhost:8090'] - trustedIdServers = ['matrix.org'] + trustedIdServers = ['matrix.org', 'vector.im'] if 'id_server' in creds: id_server = creds['id_server'] diff --git a/synapse/handlers/register.py b/synapse/handlers/register.py index a1288b4252..f81d75017d 100644 --- a/synapse/handlers/register.py +++ b/synapse/handlers/register.py @@ -73,7 +73,8 @@ class RegistrationHandler(BaseHandler): localpart : The local part of the user ID to register. If None, one will be randomly generated. password (str) : The password to assign to this user so they can - login again. + login again. This can be None which means they cannot login again + via a password (e.g. the user is an application service user). Returns: A tuple of (user_id, access_token). Raises: |