summary refs log tree commit diff
path: root/synapse/handlers/auth.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2019-06-11 00:03:57 +0100
committerRichard van der Hoff <richard@matrix.org>2019-06-11 00:03:57 +0100
commit426049247b271543a3a01e934851aefa727ba204 (patch)
tree58ff195c6afc92fded65c89d48c888bc22ad3853 /synapse/handlers/auth.py
parentMerge remote-tracking branch 'origin/develop' into rav/saml2_client (diff)
downloadsynapse-426049247b271543a3a01e934851aefa727ba204.tar.xz
Code cleanups and simplifications.
Also: share the saml client between redirect and response handlers.
Diffstat (limited to 'synapse/handlers/auth.py')
-rw-r--r--synapse/handlers/auth.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/handlers/auth.py b/synapse/handlers/auth.py
index cb22869e33..7f8ddc99c6 100644
--- a/synapse/handlers/auth.py
+++ b/synapse/handlers/auth.py
@@ -767,9 +767,6 @@ class AuthHandler(BaseHandler):
             if canonical_user_id:
                 defer.returnValue((canonical_user_id, None))
 
-        if login_type == LoginType.SSO:
-            known_login_type = True
-
         if not known_login_type:
             raise SynapseError(400, "Unknown login type %s" % login_type)