Skip to content

Commit

Permalink
Merge pull request #291 from Heartz66/patch-2
Browse files Browse the repository at this point in the history
Fix Not Logged In
  • Loading branch information
DoctorMcKay authored Aug 25, 2022
2 parents 1031a4d + 260bfaa commit 5c37c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ SteamCommunity.prototype._checkCommunityError = function(html, callback) {
return err;
}

if (typeof html === 'string' && html.indexOf('g_steamID = false;') > -1 && html.indexOf('<div class="login_title">Sign In</div>') > -1) {
if (typeof html === 'string' && html.indexOf('g_steamID = false;') > -1 && html.indexOf('<title>Sign In</title>') > -1) {
err = new Error("Not Logged In");
callback(err);
this._notifySessionExpired(err);
Expand Down

0 comments on commit 5c37c38

Please sign in to comment.