From e26d81c7430d8668b3af1bbf15672f06a855d6d0 Mon Sep 17 00:00:00 2001 From: ninioe Date: Sun, 7 Aug 2016 09:48:44 +0300 Subject: check user cookies on server side before login dialog --- web/app/view/LoginController.js | 7 ------- 1 file changed, 7 deletions(-) (limited to 'web/app/view') 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 () { -- cgit v1.2.3