Can get lnd config without being logged

This commit is contained in:
nicolas.dorier
2018-07-22 18:43:11 +09:00
parent 466f65d6cd
commit 4f8e0b0393

View File

@@ -320,6 +320,7 @@ namespace BTCPayServer.Controllers
return View(model); return View(model);
} }
[Route("lnd-config/{secret}/lnd.config")] [Route("lnd-config/{secret}/lnd.config")]
[AllowAnonymous]
public IActionResult GetLNDConfig(ulong secret) public IActionResult GetLNDConfig(ulong secret)
{ {
var conf = _LnConfigProvider.GetConfig(secret); var conf = _LnConfigProvider.GetConfig(secret);