From 055fe087c47d36e7d7e83ef3734e171caa70f262 Mon Sep 17 00:00:00 2001 From: Alex Corn Date: Tue, 17 Jan 2023 02:29:13 -0500 Subject: [PATCH] Don't warn about logging into an anonymous account for retries --- components/08-logon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/08-logon.js b/components/08-logon.js index b16dd988..5a93587a 100644 --- a/components/08-logon.js +++ b/components/08-logon.js @@ -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().'); } }