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:
parent
1fb7e6c839
commit
175c7ed252
1 changed files with 1 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue