summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2014-12-14 22:40:44 +0200
committerLV-426 <lv-426@taproot.org.il>2014-12-14 22:40:44 +0200
commit4f4effebb5b0b8db3682bad196b2907dc5ca603e (patch)
tree244da81b6d3d853d5641c3cc769cbb51e31de92b
parentdde6ded2a4a95ee2d1c4eb4e0f813a36cd9d8103 (diff)
failed attempt at fixing server redirection
-rw-r--r--res/templates/login.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/res/templates/login.html b/res/templates/login.html
index 01fba91d..793b608a 100644
--- a/res/templates/login.html
+++ b/res/templates/login.html
@@ -15,6 +15,9 @@
$.ajax({
type : "POST",
+ url: '/login',
+ async : false,
+ cache : false,
data : JSON.stringify(data),
dataType : 'json',
contentType : "application/json; charset=utf-8"