Fixed repatcha config for empty values

This commit is contained in:
Marcel Baumgartner
2023-07-02 20:40:47 +02:00
parent 2fe17473ae
commit 243d23d4e2

View File

@@ -174,7 +174,7 @@ public class ConfigV1
{ {
[JsonProperty("Token")] public string Token { get; set; } = Guid.NewGuid().ToString(); [JsonProperty("Token")] public string Token { get; set; } = Guid.NewGuid().ToString();
[JsonProperty("ReCaptcha")] public ReCaptchaData ReCaptcha { get; set; } [JsonProperty("ReCaptcha")] public ReCaptchaData ReCaptcha { get; set; } = new();
} }
public class ReCaptchaData public class ReCaptchaData