1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix can't connect to server if enableAutoLogin is false

This commit is contained in:
Thomas Vandemeulebroucke 2019-11-26 11:32:47 +01:00
parent 1fb7e6c839
commit 175c7ed252

View file

@ -410,9 +410,7 @@ define(["events", "apiclient", "appStorage"], function (events, apiClientFactory
var credentials = credentialProvider.credentials();
options = options || {};
if (false !== options.enableAutoLogin) {
afterConnectValidated(server, credentials, systemInfo, connectionMode, serverUrl, true, options, resolve);
}
afterConnectValidated(server, credentials, systemInfo, connectionMode, serverUrl, true, options, resolve);
}
function afterConnectValidated(server, credentials, systemInfo, connectionMode, serverUrl, verifyLocalAuthentication, options, resolve) {