mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Skip login keys also when user provides details himself
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user