diff options
author | David Baker <dave@matrix.org> | 2015-04-16 19:56:44 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2015-04-16 19:56:44 +0100 |
commit | ea1776f556edaf6ca483bc5faed5e9d244aa1a15 (patch) | |
tree | 41d1cc129f4ed2eb5661ee2e0fece413943a6340 /synapse/handlers/auth.py | |
parent | Dummy login so we can do the first POST request to get login flows without it... (diff) | |
download | synapse-ea1776f556edaf6ca483bc5faed5e9d244aa1a15.tar.xz |
Return user ID in use error straight away
Diffstat (limited to 'synapse/handlers/auth.py')
-rw-r--r-- | synapse/handlers/auth.py | 2 |
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 |