diff options
Diffstat (limited to 'web/app/view')
-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 () { |