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
commit 083a213e74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);