mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-21 14:04:12 +01:00
Merge pull request #1889 from bolatovumar/fix/1880
Add "allow insecure" check
This commit is contained in:
commit
083a213e74
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue