reverted other try

This commit is contained in:
ben
2022-10-05 13:01:59 +02:00
committed by dni ⚡
parent 55a4403028
commit a932f8a3d0
2 changed files with 6 additions and 15 deletions
-2
View File
@@ -245,6 +245,4 @@ async def check_user_exists(usr: UUID4) -> User:
)
if LNBITS_ADMIN_USERS and g().user.id in LNBITS_ADMIN_USERS:
g().user.admin = True
except:
pass
return g().user