diff --git a/dashboard-ui/scripts/loginpage.js b/dashboard-ui/scripts/loginpage.js index 44bf9dec5e..34cffacb28 100644 --- a/dashboard-ui/scripts/loginpage.js +++ b/dashboard-ui/scripts/loginpage.js @@ -199,9 +199,7 @@ apiClient.getPublicUsers().then(function (users) { - var showManualForm = !users.length; - - if (showManualForm) { + if (!users.length) { showManualForm(view, false, false);