mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
Add btcpay.store.cancreateinvoice claim, and use that for the store
This commit is contained in:
@@ -33,7 +33,7 @@ namespace BTCPayServer.Controllers
|
||||
else
|
||||
{
|
||||
var storeBlob = store.GetStoreBlob();
|
||||
if (!storeBlob.PayButtonEnabled)
|
||||
if (!storeBlob.AnyoneCanInvoice)
|
||||
ModelState.AddModelError("Store", "Store has not enabled Pay Button");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user