Skip to content

Commit

Permalink
Merge pull request #600 from Wunax/fix-connect-server-no-autologin
Browse files Browse the repository at this point in the history
Fix can't connect to server if enableAutoLogin is false
  • Loading branch information
dkanada committed Nov 28, 2019
2 parents cff7f3b + 175c7ed commit ecabb4c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/libraries/apiclient/connectionmanager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit ecabb4c

Please sign in to comment.