aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorninioe <ninioe@gmail.com>2016-08-07 09:48:44 +0300
committerninioe <ninioe@gmail.com>2016-08-07 09:48:44 +0300
commite26d81c7430d8668b3af1bbf15672f06a855d6d0 (patch)
tree0c953d64bf782534f4ab9477ac970816e5fe801a /web
parentc2001339cf2afac3104f3e0da430358f94e3dc18 (diff)
downloadtrackermap-server-e26d81c7430d8668b3af1bbf15672f06a855d6d0.tar.gz
trackermap-server-e26d81c7430d8668b3af1bbf15672f06a855d6d0.tar.bz2
trackermap-server-e26d81c7430d8668b3af1bbf15672f06a855d6d0.zip
check user cookies on server side before login dialog
Diffstat (limited to 'web')
-rw-r--r--web/app/view/LoginController.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/web/app/view/LoginController.js b/web/app/view/LoginController.js
index f78b1e560..47fae59f9 100644
--- a/web/app/view/LoginController.js
+++ b/web/app/view/LoginController.js
@@ -26,13 +26,6 @@ Ext.define('Traccar.view.LoginController', {
this.lookupReference('registerButton').setDisabled(
!Traccar.app.getServer().get('registration'));
this.lookupReference('languageField').setValue(Locale.language);
- var user = Ext.util.Cookies.get('user');
- var pass = Ext.util.Cookies.get('pass');
- if (user && pass) {
- this.lookupReference('userField').setValue(user);
- this.lookupReference('passwordField').setValue(pass);
- this.login();
- }
},
login: function () {