diff --git a/src/main/java/org/traccar/web/client/view/LoginDialog.java b/src/main/java/org/traccar/web/client/view/LoginDialog.java index 70f8baea..6054d657 100644 --- a/src/main/java/org/traccar/web/client/view/LoginDialog.java +++ b/src/main/java/org/traccar/web/client/view/LoginDialog.java @@ -76,7 +76,7 @@ public LoginDialog(LoginHandler loginHandler) { uiBinder.createAndBindUi(this); if (ApplicationContext.getInstance().getApplicationSettings().getRegistrationEnabled()) { - registerButton.enable(); + registerButton.setVisible(true); } } diff --git a/src/main/java/org/traccar/web/client/view/LoginDialog.ui.xml b/src/main/java/org/traccar/web/client/view/LoginDialog.ui.xml index 22d0d1fc..a1f569bb 100644 --- a/src/main/java/org/traccar/web/client/view/LoginDialog.ui.xml +++ b/src/main/java/org/traccar/web/client/view/LoginDialog.ui.xml @@ -44,7 +44,7 @@ - +