This commit is contained in:
dni ⚡
2022-10-05 13:01:59 +02:00
parent c32e0cbecb
commit e4c310d197
6 changed files with 43 additions and 21 deletions
+1 -1
View File
@@ -235,7 +235,7 @@ async def check_user_exists(usr: UUID4) -> User:
raise HTTPException(
status_code=HTTPStatus.NOT_FOUND, detail="User does not exist."
)
if LNBITS_ADMIN_UI:
LNBITS_ADMIN_USERS = g().admin_conf.admin_users
LNBITS_ALLOWED_USERS = g().admin_conf.allowed_users