mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 13:36:02 -04:00
Return user ID in use error straight away
This commit is contained in:
parent
766bd8e880
commit
ea1776f556
4 changed files with 88 additions and 66 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue