summary refs log tree commit diff
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-16 17:19:02 +0000
commit624a8bbd67b8b79e1489c3521956de829c77908a (patch)
tree22280b708c515e1d2125a3e0215799460326adfe
parentMerge pull request #2684 from matrix-org/rav/unlock_upsert (diff)
downloadsynapse-624a8bbd67b8b79e1489c3521956de829c77908a.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")):