diff options
author | ninioe <ninioe@gmail.com> | 2016-08-07 09:48:44 +0300 |
---|---|---|
committer | ninioe <ninioe@gmail.com> | 2016-08-07 09:48:44 +0300 |
commit | e26d81c7430d8668b3af1bbf15672f06a855d6d0 (patch) | |
tree | 0c953d64bf782534f4ab9477ac970816e5fe801a /web | |
parent | c2001339cf2afac3104f3e0da430358f94e3dc18 (diff) | |
download | trackermap-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.js | 7 |
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 () { |