fix: remove super_admin from lnbits_admin_users

This commit is contained in:
Vlad Stan 2022-12-12 10:28:53 +02:00
parent 63ea3369d3
commit b758cb5be3

View File

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