Use asterisks for password field

This commit is contained in:
JustArchi
2016-04-26 14:23:44 +02:00
parent 3dc88c65aa
commit d1a6613541

View File

@@ -25,6 +25,7 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel;
using System.IO; using System.IO;
namespace ConfigGenerator { namespace ConfigGenerator {
@@ -38,6 +39,7 @@ namespace ConfigGenerator {
[JsonProperty] [JsonProperty]
public string SteamLogin { get; set; } = null; public string SteamLogin { get; set; } = null;
[PasswordPropertyText(true)]
[JsonProperty] [JsonProperty]
public string SteamPassword { get; set; } = null; public string SteamPassword { get; set; } = null;