summary refs log tree commit diff
path: root/synapse/handlers/auth.py
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2015-04-16 19:56:44 +0100
committerDavid Baker <dave@matrix.org>2015-04-16 19:56:44 +0100
commitea1776f556edaf6ca483bc5faed5e9d244aa1a15 (patch)
tree41d1cc129f4ed2eb5661ee2e0fece413943a6340 /synapse/handlers/auth.py
parentDummy login so we can do the first POST request to get login flows without it... (diff)
downloadsynapse-ea1776f556edaf6ca483bc5faed5e9d244aa1a15.tar.xz
Return user ID in use error straight away
Diffstat (limited to 'synapse/handlers/auth.py')
-rw-r--r--synapse/handlers/auth.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py
index 87866f298d..1f927e67ad 100644
--- a/synapse/handlers/auth.py
+++ b/synapse/handlers/auth.py
@@ -201,6 +201,8 @@ class AuthHandler(BaseHandler):
         logger.debug("Getting validated threepid. threepidcreds: %r" % (threepidCreds,))
         threepid = yield identity_handler.threepid_from_creds(threepidCreds)
 
+        threepid['threepidCreds'] = authdict['threepidCreds']
+
         defer.returnValue(threepid)
 
     @defer.inlineCallbacks