diff options
author | Mark Haines <mark.haines@matrix.org> | 2014-10-13 10:58:36 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2014-10-13 10:58:50 +0100 |
commit | 984e207b5982df26bec37223cd07b4044dcacdd2 (patch) | |
tree | 9b7cd2052ab91b4365bb43f46d2509b389bf1bab /synapse/handlers/login.py | |
parent | Merge branch 'develop' into server2server_signing (diff) | |
parent | remove wishlist in favour of jira (diff) | |
download | synapse-984e207b5982df26bec37223cd07b4044dcacdd2.tar.xz |
Merge branch develop into server2server_signing
Conflicts: synapse/app/homeserver.py
Diffstat (limited to 'synapse/handlers/login.py')
-rw-r--r-- | synapse/handlers/login.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/handlers/login.py b/synapse/handlers/login.py index 80ffdd2726..3f152e18f0 100644 --- a/synapse/handlers/login.py +++ b/synapse/handlers/login.py @@ -17,7 +17,7 @@ from twisted.internet import defer from ._base import BaseHandler from synapse.api.errors import LoginError, Codes -from synapse.http.client import PlainHttpClient +from synapse.http.client import IdentityServerHttpClient from synapse.util.emailutils import EmailException import synapse.util.emailutils as emailutils @@ -97,10 +97,10 @@ class LoginHandler(BaseHandler): @defer.inlineCallbacks def _query_email(self, email): - httpCli = PlainHttpClient(self.hs) + httpCli = IdentityServerHttpClient(self.hs) data = yield httpCli.get_json( 'matrix.org:8090', # TODO FIXME This should be configurable. "/_matrix/identity/api/v1/lookup?medium=email&address=" + "%s" % urllib.quote(email) ) - defer.returnValue(data) \ No newline at end of file + defer.returnValue(data) |