summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-10-26 18:12:09 +0000
committerErik Johnston <erik@matrix.org>2015-10-26 18:12:09 +0000
commitf73de2004e82d756fa47e9e8cf3199aaadba515f (patch)
treeeaf53c0c919aefcc46c03555ae7da83d8ee9a371
parentAdd login fallback (diff)
downloadsynapse-f73de2004e82d756fa47e9e8cf3199aaadba515f.tar.xz
Use correct service url
Diffstat (limited to '')
-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;
 };