From a9691d04e787c54bd0489f520ba6f2df1cb90715 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Sat, 1 Dec 2018 01:53:21 +0100 Subject: [PATCH] Skip login keys also when user provides details himself --- ArchiSteamFarm/Bot.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArchiSteamFarm/Bot.cs b/ArchiSteamFarm/Bot.cs index 71cfc5035..3c201ddc2 100755 --- a/ArchiSteamFarm/Bot.cs +++ b/ArchiSteamFarm/Bot.cs @@ -1592,7 +1592,7 @@ namespace ArchiSteamFarm { if (BotConfig.UseLoginKeys) { // Login keys are not guaranteed to be valid, we should use them only if we don't have full details available from the user - if (string.IsNullOrEmpty(BotConfig.DecryptedSteamPassword) || !HasMobileAuthenticator) { + if (string.IsNullOrEmpty(BotConfig.DecryptedSteamPassword) || (string.IsNullOrEmpty(AuthCode) && string.IsNullOrEmpty(TwoFactorCode) && !HasMobileAuthenticator)) { loginKey = BotDatabase.LoginKey; // Decrypt login key if needed