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:
dkanada 2019-11-29 05:11:36 +09:00 committed by GitHub
commit ecabb4cf65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -410,10 +410,8 @@ 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);
}
}
function afterConnectValidated(server, credentials, systemInfo, connectionMode, serverUrl, verifyLocalAuthentication, options, resolve) {
options = options || {};