Merge pull request #2679 from jkolo/fix_auth_handler

Fix auth handler
This commit is contained in:
Richard van der Hoff 2017-11-16 17:09:00 +00:00 committed by GitHub
commit 203058a027
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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")):