From b5aad94ecd908a84ae48153362e8584ffa3fa17d Mon Sep 17 00:00:00 2001 From: benarc Date: Thu, 10 Feb 2022 13:55:45 +0000 Subject: [PATCH] rolled back admin fix --- lnbits/core/crud.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lnbits/core/crud.py b/lnbits/core/crud.py index 61710a722..97b6586e7 100644 --- a/lnbits/core/crud.py +++ b/lnbits/core/crud.py @@ -61,7 +61,6 @@ async def get_user(user_id: str, conn: Optional[Connection] = None) -> Optional[ email=user["email"], extensions=[e[0] for e in extensions], wallets=[Wallet(**w) for w in wallets], - admin=LNBITS_ADMIN_USERS and user["id"] in [x.strip() for x in LNBITS_ADMIN_USERS] )