mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
Merge pull request #600 from Wunax/fix-connect-server-no-autologin
Fix can't connect to server if enableAutoLogin is false
This commit is contained in:
commit
ecabb4cf65
@ -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…
Reference in New Issue
Block a user