diff --git a/lnbits/core/templates/admin/index.html b/lnbits/core/templates/admin/index.html index 813571014..3e688fd65 100644 --- a/lnbits/core/templates/admin/index.html +++ b/lnbits/core/templates/admin/index.html @@ -141,15 +141,15 @@ return { settings: {}, lnbits_theme_options: [ - 'classic', - 'bitcoin', - 'flamingo', - 'freedom', - 'mint', - 'autumn', - 'monochrome', - 'salvador' - ], + 'classic', + 'bitcoin', + 'flamingo', + 'freedom', + 'mint', + 'autumn', + 'monochrome', + 'salvador' + ], formData: {}, formAddAdmin: '', formAddUser: '', @@ -204,11 +204,11 @@ value: null, label: 'Certificate' }, - lnd_admin_macaroon: { + lnd_rest_admin_macaroon: { value: null, label: 'Admin Macaroon' }, - lnd_invoice_macaroon: { + lnd_rest_invoice_macaroon: { value: null, label: 'Invoice Macaroon' } diff --git a/lnbits/settings.py b/lnbits/settings.py index 59eb376b6..6ec4db0c7 100644 --- a/lnbits/settings.py +++ b/lnbits/settings.py @@ -98,6 +98,8 @@ class LndRestFundingSource(LNbitsSettings): lnd_cert: Optional[str] = Field(default=None) lnd_admin_macaroon: Optional[str] = Field(default=None) lnd_invoice_macaroon: Optional[str] = Field(default=None) + lnd_rest_admin_macaroon: Optional[str] = Field(default=None) + lnd_rest_invoice_macaroon: Optional[str] = Field(default=None) class LndGrpcFundingSource(LNbitsSettings):