Revert "Merge pull request #2679 from jkolo/fix_auth_handler"

This PR was against master, not develop :(

This reverts commit 203058a027, reversing
changes made to 552f123bea.
This commit is contained in:
Richard van der Hoff 2017-11-16 17:18:11 +00:00
parent 203058a027
commit b26cbbb60e

View File

@ -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, None)) defer.returnValue(qualified_user_id)
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")):