Do not require user approval by default (#5733)

As discussed on Mattermost.
This commit is contained in:
d11n
2024-02-06 09:04:18 +01:00
committed by GitHub
parent 1c4dc382a8
commit 0bf22ddf29

View File

@@ -23,10 +23,9 @@ namespace BTCPayServer.Services
set { LockSubscription = !value; }
}
[DefaultValue(true)]
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Populate)]
[Display(Name = "Require new users to be approved by an admin after registration")]
public bool RequiresUserApproval { get; set; } = true;
public bool RequiresUserApproval { get; set; }
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Populate)]
[Display(Name = "Discourage search engines from indexing this site")]