Enhance fallback for lack of verification

This commit is contained in:
JustArchi
2019-07-22 18:44:41 +02:00
parent 79683919ed
commit fb2b2e830d

View File

@@ -2427,7 +2427,7 @@ namespace ArchiSteamFarm {
if (BotConfig.SteamParentalCode != steamParentalCode) {
SetUserInput(ASF.EUserInputType.SteamParentalCode, steamParentalCode);
}
} else {
} else if (string.IsNullOrEmpty(BotConfig.SteamParentalCode) || (BotConfig.SteamParentalCode.Length != BotConfig.SteamParentalCodeLength)) {
steamParentalCode = await Logging.GetUserInput(ASF.EUserInputType.SteamParentalCode, BotName).ConfigureAwait(false);
if (string.IsNullOrEmpty(steamParentalCode) || (steamParentalCode.Length != BotConfig.SteamParentalCodeLength)) {