From 083b628b3f08348fce70f1f1fd9a809cc1de729d Mon Sep 17 00:00:00 2001 From: JustArchi Date: Wed, 9 May 2018 05:47:43 +0200 Subject: [PATCH] Consider only WebProxyPassword to be sensitive --- ArchiSteamFarm/GlobalConfig.cs | 1 - ArchiSteamFarm/IPC.cs | 4 ---- 2 files changed, 5 deletions(-) diff --git a/ArchiSteamFarm/GlobalConfig.cs b/ArchiSteamFarm/GlobalConfig.cs index 81f0ba1d2..2fc5e1ad6 100644 --- a/ArchiSteamFarm/GlobalConfig.cs +++ b/ArchiSteamFarm/GlobalConfig.cs @@ -243,7 +243,6 @@ namespace ArchiSteamFarm { } public bool ShouldSerializeWebProxyPassword() => ShouldSerializeSensitiveDetails; - public bool ShouldSerializeWebProxyUsername() => ShouldSerializeSensitiveDetails; internal static GlobalConfig Load(string filePath) { if (string.IsNullOrEmpty(filePath)) { diff --git a/ArchiSteamFarm/IPC.cs b/ArchiSteamFarm/IPC.cs index 536a6eb72..34e772dac 100644 --- a/ArchiSteamFarm/IPC.cs +++ b/ArchiSteamFarm/IPC.cs @@ -277,10 +277,6 @@ namespace ArchiSteamFarm { if (string.IsNullOrEmpty(jsonRequest.GlobalConfig.WebProxyPassword) && !string.IsNullOrEmpty(Program.GlobalConfig.WebProxyPassword)) { jsonRequest.GlobalConfig.WebProxyPassword = Program.GlobalConfig.WebProxyPassword; } - - if (string.IsNullOrEmpty(jsonRequest.GlobalConfig.WebProxyUsername) && !string.IsNullOrEmpty(Program.GlobalConfig.WebProxyUsername)) { - jsonRequest.GlobalConfig.WebProxyUsername = Program.GlobalConfig.WebProxyUsername; - } } string filePath = Path.Combine(SharedInfo.ConfigDirectory, SharedInfo.GlobalConfigFileName);