summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--changelog.d/7235.bugfix1
-rw-r--r--synapse/static/client/login/js/login.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/7235.bugfix b/changelog.d/7235.bugfix
new file mode 100644
index 0000000000..d185efe537
--- /dev/null
+++ b/changelog.d/7235.bugfix
@@ -0,0 +1 @@
+Fix a bug causing the login fallback to not display the SSO login form.
diff --git a/synapse/static/client/login/js/login.js b/synapse/static/client/login/js/login.js
index debe464371..5ca0317755 100644
--- a/synapse/static/client/login/js/login.js
+++ b/synapse/static/client/login/js/login.js
@@ -62,7 +62,7 @@ var show_login = function(inhibit_redirect) {
         }
 
         // Otherwise, show the SSO form
-        $("#sso_form").show();
+        $("#sso_flow").show();
     }
 
     if (matrixLogin.serverAcceptsPassword) {