diff options
Diffstat (limited to 'web/app/controller')
-rw-r--r-- | web/app/controller/Root.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/web/app/controller/Root.js b/web/app/controller/Root.js index f999cf462..10deb69c8 100644 --- a/web/app/controller/Root.js +++ b/web/app/controller/Root.js @@ -24,6 +24,13 @@ Ext.define('Traccar.controller.Root', { ], onLaunch: function () { + Traccar.LoginManager.server({ + scope: this, + callback: 'onServer' + }); + }, + + onServer: function() { Traccar.LoginManager.session({ scope: this, callback: 'onSession' |