summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorJurek <jurek@kolosowscy.pl>2017-11-15 22:49:43 +0100
committerRichard van der Hoff <richard@matrix.org>2017-11-17 10:07:27 +0000
commiteded7084d2b829b07351c13cdb25221056f796a3 (patch)
treedaa71dbaa44d6482599d07f5de0c793a91b9b478 /synapse
parentBump changelog (diff)
downloadsynapse-eded7084d2b829b07351c13cdb25221056f796a3.tar.xz
Fix auth handler #2678
Diffstat (limited to 'synapse')
-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")):