mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Require SteamParentalPIN when parental settings detected
This commit is contained in:
@@ -1504,7 +1504,7 @@ namespace ArchiSteamFarm {
|
||||
}
|
||||
}
|
||||
|
||||
if (string.IsNullOrEmpty(BotConfig.SteamParentalPIN)) {
|
||||
if (string.IsNullOrEmpty(BotConfig.SteamParentalPIN) || (callback.AccountFlags.HasFlag(EAccountFlags.ParentalSettings) && BotConfig.SteamParentalPIN.Equals("0"))) {
|
||||
string steamParentalPIN = Program.GetUserInput(ASF.EUserInputType.SteamParentalPIN, BotName);
|
||||
if (string.IsNullOrEmpty(steamParentalPIN)) {
|
||||
Stop();
|
||||
|
||||
Reference in New Issue
Block a user