From d1a6613541293fc8dd29e510a64f77145c25f64c Mon Sep 17 00:00:00 2001 From: JustArchi Date: Tue, 26 Apr 2016 14:23:44 +0200 Subject: [PATCH] Use asterisks for password field --- ConfigGenerator/BotConfig.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ConfigGenerator/BotConfig.cs b/ConfigGenerator/BotConfig.cs index d0951a507..3d40e9b39 100644 --- a/ConfigGenerator/BotConfig.cs +++ b/ConfigGenerator/BotConfig.cs @@ -25,6 +25,7 @@ using Newtonsoft.Json; using System; using System.Collections.Generic; +using System.ComponentModel; using System.IO; namespace ConfigGenerator { @@ -38,6 +39,7 @@ namespace ConfigGenerator { [JsonProperty] public string SteamLogin { get; set; } = null; + [PasswordPropertyText(true)] [JsonProperty] public string SteamPassword { get; set; } = null;