From c1f8b58bb7c7ccc098daecb01419b55d4a09aabf Mon Sep 17 00:00:00 2001 From: Jeremy Tan Date: Mon, 28 Oct 2013 22:04:25 +0800 Subject: [PATCH 1/1] use post for login. how did this get lost? --- testing/MCTXWeb/public_html/static/mctx.gui.js | 1 + 1 file changed, 1 insertion(+) 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) { -- 2.20.1