Skip to content

Commit

Permalink
Merge pull request #36 from Authress/handle-undefined-window-navigator
Browse files Browse the repository at this point in the history
Don't pass the default logger to the HttpClient, if we don't request …
  • Loading branch information
wparad authored Feb 5, 2024
2 parents 7f50875 + 0058a2c commit 9535411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class LoginClient {
}

this.hostUrl = sanitizeUrl(hostUrl);
this.httpClient = new HttpClient(this.hostUrl, this.logger);
this.httpClient = new HttpClient(this.hostUrl, logger);
this.lastSessionCheck = 0;

this.enableCredentials = this.getMatchingDomainInfo(this.hostUrl);
Expand Down

0 comments on commit 9535411

Please sign in to comment.