summary refs log tree commit diff
path: root/synapse/static/client
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/static/client')
-rw-r--r--synapse/static/client/login/js/login.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/static/client/login/js/login.js b/synapse/static/client/login/js/login.js
index 2bc1103037..ab8b4d44ea 100644
--- a/synapse/static/client/login/js/login.js
+++ b/synapse/static/client/login/js/login.js
@@ -161,9 +161,7 @@ var try_cas = function() {
         return false;
     }
 
-    getCasURL(function(url) {
-        submitCas(ticket, url);
-    });
+    submitCas(ticket, location.origin);
 
     return true;
 };