mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-05 15:14:21 +01:00
Merge pull request #1889 from bolatovumar/fix/1880
Add "allow insecure" check
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user