summary refs log tree commit diff
path: root/synapse/static
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2019-09-12 11:42:47 +0100
committerDavid Baker <dave@matrix.org>2019-09-12 11:42:47 +0100
commit642fad8bd47ffcb74d970de632a7316dfc15d26b (patch)
tree600674ffed4b19e551d6399dba60e8c8fef24d17 /synapse/static
parentadd report_stats_endpoint config option (#6012) (diff)
downloadsynapse-642fad8bd47ffcb74d970de632a7316dfc15d26b.tar.xz
Fix SSO fallback login
Well, it worked, but forgot to remove the thing saying login was
unavailable.
Diffstat (limited to 'synapse/static')
-rw-r--r--synapse/static/client/login/js/login.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/static/client/login/js/login.js b/synapse/static/client/login/js/login.js
index e02663f50e..276c271bbe 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() {
         $("#sso_flow").show();
     }
 
-    if (!matrixLogin.serverAcceptsPassword && !matrixLogin.serverAcceptsCas) {
+    if (!matrixLogin.serverAcceptsPassword && !matrixLogin.serverAcceptsCas && !matrixLogin.serverAcceptsSso) {
         $("#no_login_types").show();
     }
 };