Skip to content

Commit be8e05c

Browse files
committed
Don't warn about logging into an anonymous account for retries
1 parent 0a97e24 commit be8e05c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/08-logon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ class SteamUserLogon extends SteamUserWeb {
254254
if (anonLogin) {
255255
if (this._logOnDetails.password || this._logOnDetails.login_key) {
256256
this._warn('Logging into anonymous Steam account but a password was specified... did you specify your accountName improperly?');
257-
} else if (!explicitlyRequestedAnonLogin) {
257+
} else if (details !== true && !explicitlyRequestedAnonLogin) {
258258
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().');
259259
}
260260
}

0 commit comments

Comments
 (0)