mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-18 21:32:27 +01:00
d0e11f1ec4
* Resolves: check box to toggle in various setting views * resolve conflicts * Notification logic reversal * remove transform property in the toggle * Handle email tls certificate check * Unifications and fixes --------- Co-authored-by: Dennis Reimann <mail@dennisreimann.de>
39 lines
586 B
C#
39 lines
586 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace BTCPayServer.Client.Models;
|
|
|
|
public class EmailSettingsData
|
|
{
|
|
public string Server
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public int? Port
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public string Login
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
public string Password
|
|
{
|
|
get; set;
|
|
}
|
|
public string From
|
|
{
|
|
get; set;
|
|
}
|
|
public bool DisableCertificateCheck { get; set; }
|
|
|
|
[JsonIgnore]
|
|
public bool EnabledCertificateCheck
|
|
{
|
|
get => !DisableCertificateCheck;
|
|
set { DisableCertificateCheck = !value; }
|
|
}
|
|
}
|