From b758cb5be37bbeefc8494d43fd45f7069048445c Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Mon, 12 Dec 2022 10:28:53 +0200 Subject: [PATCH] fix: remove `super_admin` from `lnbits_admin_users` --- lnbits/core/crud.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lnbits/core/crud.py b/lnbits/core/crud.py index 1aa4ddd31..0d87a2246 100644 --- a/lnbits/core/crud.py +++ b/lnbits/core/crud.py @@ -603,7 +603,6 @@ async def update_admin_settings(data: EditableSetings): async def create_admin_settings(): account = await create_account() settings.super_user = account.id - settings.lnbits_admin_users += [account.id] editable_settings = EditableSetings.from_dict(settings.dict())