Update property names for compatiblity reasons

This commit is contained in:
2022-02-10 14:31:56 +01:00
parent 621184a51b
commit 7c90d7746c
2 changed files with 4 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
using Pilz.Cryptography; using Newtonsoft.Json;
using Pilz.Cryptography;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
@@ -11,6 +12,7 @@ namespace Pilz.Updating.Administration
{ {
public bool UseProxyAuth { get; set; } public bool UseProxyAuth { get; set; }
public string Username { get; set; } public string Username { get; set; }
[JsonProperty("PasswordV3")]
public SecureString Password { get; set; } public SecureString Password { get; set; }
} }
} }

View File

@@ -29,7 +29,7 @@ namespace Pilz.Updating.Administration
} }
} }
[JsonProperty("Password2")] [JsonProperty("PasswordV3")]
public SecureString Password { get; set; } public SecureString Password { get; set; }
} }
} }