Update property names for compatiblity reasons
This commit is contained in:
@@ -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; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ namespace Pilz.Updating.Administration
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[JsonProperty("Password2")]
|
[JsonProperty("PasswordV3")]
|
||||||
public SecureString Password { get; set; }
|
public SecureString Password { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user