mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
SteamParentalPIN -> SteamParentalCode + fixes for @Aareksio
This commit is contained in:
@@ -58,10 +58,8 @@ namespace ArchiSteamFarm.IPC.Controllers.Api {
|
||||
return BadRequest(new GenericResponse(false, errorMessage));
|
||||
}
|
||||
|
||||
if (request.KeepSensitiveDetails) {
|
||||
if (string.IsNullOrEmpty(request.GlobalConfig.WebProxyPassword) && !string.IsNullOrEmpty(Program.GlobalConfig.WebProxyPassword)) {
|
||||
request.GlobalConfig.WebProxyPassword = Program.GlobalConfig.WebProxyPassword;
|
||||
}
|
||||
if (!request.GlobalConfig.IsWebProxyPasswordSet && Program.GlobalConfig.IsWebProxyPasswordSet) {
|
||||
request.GlobalConfig.WebProxyPassword = Program.GlobalConfig.WebProxyPassword;
|
||||
}
|
||||
|
||||
request.GlobalConfig.ShouldSerializeEverything = false;
|
||||
|
||||
Reference in New Issue
Block a user