Merge pull request #1889 from bolatovumar/fix/1880

Add "allow insecure" check
This commit is contained in:
Nicolas Dorier
2020-09-07 15:27:15 +09:00
committed by GitHub

View File

@@ -93,7 +93,7 @@ namespace BTCPayServer.Controllers
if (connectionString.BaseUri.Scheme == "http")
{
if (!isInternalNode)
if (!isInternalNode && !connectionString.AllowInsecure)
{
ModelState.AddModelError(nameof(vm.ConnectionString), "The url must be HTTPS");
return View(vm);