rolled back admin fix

This commit is contained in:
benarc 2022-02-10 13:55:45 +00:00
parent 0f79213b0f
commit b5aad94ecd

View file

@ -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]
)