btcpayserver/BTCPayServer/Models/ServerViewModels/EmailsViewModel.cs
d11n 9c95b98f3a
Policies: Cleanup and improvements (#5731)
* Policies: Turn checkboxes into toggles

* Move email policy to server email settings

* Move maintenance policies to server maintenance settings

* Policies: Adjust spacings

* Policies: Remove DisableInstantNotifications setting

* Wording updates

* Move maintenance settings back
2024-02-21 14:43:44 +01:00

18 lines
480 B
C#

using System.ComponentModel.DataAnnotations;
using BTCPayServer.Services.Mails;
namespace BTCPayServer.Models.ServerViewModels;
public class ServerEmailsViewModel : EmailsViewModel
{
[Display(Name = "Allow Stores use the Server's SMTP email settings as their default")]
public bool EnableStoresToUseServerEmailSettings { get; set; }
public ServerEmailsViewModel()
{
}
public ServerEmailsViewModel(EmailSettings settings) : base(settings)
{
}
}