diff --git a/src/controllers/loginpage.js b/src/controllers/loginpage.js index b3e5c632cc..2f396ff5eb 100644 --- a/src/controllers/loginpage.js +++ b/src/controllers/loginpage.js @@ -1,4 +1,4 @@ -define(["appSettings", "dom", "connectionManager", "loading", "cardStyle", "emby-checkbox"], function(appSettings, dom, connectionManager, loading) { +define(["apphost", "appSettings", "dom", "connectionManager", "loading", "cardStyle", "emby-checkbox"], function(appHost, appSettings, dom, connectionManager, loading) { "use strict"; function authenticateUserByName(page, apiClient, username, password) { @@ -140,6 +140,9 @@ define(["appSettings", "dom", "connectionManager", "loading", "cardStyle", "emby view.addEventListener("viewshow", function(e) { loading.show(); + if (!appHost.supports('multiserver')) { + view.querySelector(".btnSelectServer").classList.add("hide"); + } var apiClient = getApiClient(); apiClient.getPublicUsers().then(function(users) { if (users.length) { diff --git a/src/login.html b/src/login.html index 100dc7a3b9..c70064ed95 100644 --- a/src/login.html +++ b/src/login.html @@ -47,7 +47,7 @@ ${ButtonForgotPassword} - + ${ButtonChangeServer}