Skip to content

Commit

Permalink
Don't warn about logging into an anonymous account for retries
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorMcKay committed Jan 17, 2023
1 parent 0a97e24 commit 055fe08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/08-logon.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ class SteamUserLogon extends SteamUserWeb {
if (anonLogin) {
if (this._logOnDetails.password || this._logOnDetails.login_key) {
this._warn('Logging into anonymous Steam account but a password was specified... did you specify your accountName improperly?');
} else if (!explicitlyRequestedAnonLogin) {
} else if (details !== true && !explicitlyRequestedAnonLogin) {
this._warn('Logging into anonymous Steam account. If you didn\'t expect this warning, make sure that you\'re properly passing your log on details to the logOn() method. To suppress this warning, pass {anonymous: true} to logOn().');
}
}
Expand Down

0 comments on commit 055fe08

Please sign in to comment.