mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Fix auth handler #2678
This commit is contained in:
parent
552f123bea
commit
56e2a4333e
@ -551,7 +551,7 @@ class AuthHandler(BaseHandler):
|
|||||||
qualified_user_id, password,
|
qualified_user_id, password,
|
||||||
)
|
)
|
||||||
if is_valid:
|
if is_valid:
|
||||||
defer.returnValue(qualified_user_id)
|
defer.returnValue((qualified_user_id, None))
|
||||||
|
|
||||||
if (not hasattr(provider, "get_supported_login_types")
|
if (not hasattr(provider, "get_supported_login_types")
|
||||||
or not hasattr(provider, "check_auth")):
|
or not hasattr(provider, "check_auth")):
|
||||||
|
Loading…
Reference in New Issue
Block a user