diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-15 15:02:01 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-12-15 15:02:01 +1300 |
commit | 4113e28eda3df4725cc72527216a02d1b9cfed17 (patch) | |
tree | 75454f6873da40f13b4f2e1fe72591fdfe1037d9 /web/app/view/LoginController.js | |
parent | f5ab3489c9abdc825dd5297829119813740e32e6 (diff) | |
download | trackermap-server-4113e28eda3df4725cc72527216a02d1b9cfed17.tar.gz trackermap-server-4113e28eda3df4725cc72527216a02d1b9cfed17.tar.bz2 trackermap-server-4113e28eda3df4725cc72527216a02d1b9cfed17.zip |
Enable only REST API by default
Diffstat (limited to 'web/app/view/LoginController.js')
-rw-r--r-- | web/app/view/LoginController.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/LoginController.js b/web/app/view/LoginController.js index 0ac8408fa..3dd8af082 100644 --- a/web/app/view/LoginController.js +++ b/web/app/view/LoginController.js @@ -35,7 +35,7 @@ Ext.define('Traccar.view.LoginController', { Ext.Ajax.request({ scope: this, method: 'POST', - url: '/api/rest/session', + url: '/api/session', params: form.getValues(), callback: function (options, success, response) { Ext.getBody().unmask(); @@ -54,7 +54,7 @@ Ext.define('Traccar.view.LoginController', { Ext.Ajax.request({ scope: this, method: 'DELETE', - url: '/api/rest/session', + url: '/api/session', callback: function () { window.location.reload(); } |