0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 02:23:47 +01:00

Fix auth handler #2678

This commit is contained in:
Jurek 2017-11-15 22:49:43 +01:00 committed by Richard van der Hoff
parent ba05f28ae7
commit 624a8bbd67

View file

@ -551,7 +551,7 @@ class AuthHandler(BaseHandler):
qualified_user_id, password,
)
if is_valid:
defer.returnValue(qualified_user_id)
defer.returnValue((qualified_user_id, None))
if (not hasattr(provider, "get_supported_login_types")
or not hasattr(provider, "check_auth")):