From: Jeremy Tan Date: Mon, 28 Oct 2013 14:04:25 +0000 (+0800) Subject: use post for login. how did this get lost? X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=c1f8b58bb7c7ccc098daecb01419b55d4a09aabf;p=matches%2FMCTX3420.git use post for login. how did this get lost? --- diff --git a/testing/MCTXWeb/public_html/static/mctx.gui.js b/testing/MCTXWeb/public_html/static/mctx.gui.js index 1007510..2033483 100644 --- a/testing/MCTXWeb/public_html/static/mctx.gui.js +++ b/testing/MCTXWeb/public_html/static/mctx.gui.js @@ -186,6 +186,7 @@ $.fn.login = function () { return $.ajax({ url : mctx.api + "bind", + type : "POST", data : {user: username, pass : password} }).done(function (data) { if (data.status < 0) {