mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-22 19:44:06 +00:00
Fix auth handler #2678
This commit is contained in:
1 parent
5d0cbf763f
commit
eded7084d2
1 file changed
+1
-1
@@ -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")):
|
||||
|
||||
Reference in new issue
Block a user