mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 02:28:31 +01:00
344755cbd0
closes #390
27 lines
809 B
C#
27 lines
809 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace BTCPayServer.Services
|
|
{
|
|
public class PoliciesSettings
|
|
{
|
|
[Display(Name = "Requires a confirmation mail for registering")]
|
|
public bool RequiresConfirmedEmail
|
|
{
|
|
get; set;
|
|
}
|
|
|
|
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Populate)]
|
|
[Display(Name = "Disable registration")]
|
|
public bool LockSubscription { get; set; }
|
|
|
|
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Populate)]
|
|
[Display(Name = "Discourage search engines from indexing this site")]
|
|
public bool DiscourageSearchEngines { get; set; }
|
|
}
|
|
}
|