summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-04-07 18:31:50 +0200
committerGitHub <noreply@github.com>2020-04-07 18:31:50 +0200
commitec5ac8e2b129f645a06f441143c2dcd2fb1c7037 (patch)
tree55ad0e4941164d4cf1c1006cc3bea3e2f8768457
parentRemove sent outbound device list pokes from the database (#7192) (diff)
downloadsynapse-ec5ac8e2b129f645a06f441143c2dcd2fb1c7037.tar.xz
Fix typo in the login fallback javascript (#7235)
* Fix typo in the login fallback javascript

* Changelog
-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) {