diff --git a/synapse/static/client/login/js/login.js b/synapse/static/client/login/js/login.js index 2bc110303..ab8b4d44e 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; };