aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/login/LoginController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/login/LoginController.js')
-rw-r--r--web/app/view/login/LoginController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/login/LoginController.js b/web/app/view/login/LoginController.js
index e809b0fbc..48a4aa0f7 100644
--- a/web/app/view/login/LoginController.js
+++ b/web/app/view/login/LoginController.js
@@ -24,7 +24,7 @@ Ext.define('Traccar.view.login.LoginController', {
init: function() {
this.lookupReference('registerButton').setDisabled(
- !Traccar.getApplication().getServer().get('registration')
+ !Traccar.app.getServer().get('registration')
);
this.lookupReference('languageField').setValue(language);