summary refs log tree commit diff
diff options
context:
space:
mode:
authorJurek <jurek@kolosowscy.pl>2017-11-15 22:49:43 +0100
committerJurek <jurek@kolosowscy.pl>2017-11-15 22:49:43 +0100
commit56e2a4333e0da7ab08b035ccd80cce95324fa745 (patch)
treedaa71dbaa44d6482599d07f5de0c793a91b9b478
parentMerge branch 'release-v0.25.0' of github.com:matrix-org/synapse (diff)
downloadsynapse-56e2a4333e0da7ab08b035ccd80cce95324fa745.tar.xz
Fix auth handler #2678
-rw-r--r--synapse/handlers/auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py
index 7a0ba6ef35..080eb14271 100644
--- a/synapse/handlers/auth.py
+++ b/synapse/handlers/auth.py
@@ -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")):