mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-09 20:12:34 +02:00
add admin_ui env
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import importlib
|
||||
import subprocess
|
||||
from email.policy import default
|
||||
from os import path
|
||||
from typing import List
|
||||
|
||||
@@ -27,6 +28,7 @@ LNBITS_DATABASE_URL = env.str("LNBITS_DATABASE_URL", default=None)
|
||||
LNBITS_ALLOWED_USERS: List[str] = [
|
||||
x.strip(" ") for x in env.list("LNBITS_ALLOWED_USERS", default=[], subcast=str)
|
||||
]
|
||||
LNBITS_ADMIN_UI = env.bool("LNBITS_ADMIN_UI", default=False)
|
||||
LNBITS_ADMIN_USERS: List[str] = [
|
||||
x.strip(" ") for x in env.list("LNBITS_ADMIN_USERS", default=[], subcast=str)
|
||||
]
|
||||
|
Reference in New Issue
Block a user