aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/LoginController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-08-04 22:23:09 +0300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-08-04 22:23:09 +0300
commita69571deae6ea788edca58238cee521800a7ef7d (patch)
tree217e4fc97bfc85df0e80c8a918b70cd0c4e2ce2a /web/app/view/LoginController.js
parentd4407022ef004e141374c542a511a6405aa17377 (diff)
downloadtrackermap-server-a69571deae6ea788edca58238cee521800a7ef7d.tar.gz
trackermap-server-a69571deae6ea788edca58238cee521800a7ef7d.tar.bz2
trackermap-server-a69571deae6ea788edca58238cee521800a7ef7d.zip
Rename remember me button
Diffstat (limited to 'web/app/view/LoginController.js')
-rw-r--r--web/app/view/LoginController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/LoginController.js b/web/app/view/LoginController.js
index f78b1e560..1a04ae974 100644
--- a/web/app/view/LoginController.js
+++ b/web/app/view/LoginController.js
@@ -47,7 +47,7 @@ Ext.define('Traccar.view.LoginController', {
callback: function (options, success, response) {
Ext.getBody().unmask();
if (success) {
- if (this.lookupReference('rememberMeField').getValue()) {
+ if (this.lookupReference('rememberField').getValue()) {
Ext.util.Cookies.set('user', this.lookupReference('userField').getValue(), Ext.Date.add(new Date(), Ext.Date.YEAR, 1));
Ext.util.Cookies.set('pass', this.lookupReference('passwordField').getValue(), Ext.Date.add(new Date(), Ext.Date.YEAR, 1));
}