diff --git a/docs/guide/admin_ui.md b/docs/guide/admin_ui.md index 95edcb4ae..3d3077f36 100644 --- a/docs/guide/admin_ui.md +++ b/docs/guide/admin_ui.md @@ -55,11 +55,12 @@ Now start LNbits once in the terminal window ``` $ poetry run lnbits ``` -It will now show you the Super User Account: - -`SUCCESS | ✔️ Access super user account at: https://127.0.0.1:5000/wallet?usr=5711d7..` - -The `/wallet?usr=..` is your super user account. You just have to append it to your normal LNbits web domain. +You can now `cat` the Super User ID: +``` +$ cat .super_user +123de4bfdddddbbeb48c8bc8382fe123 +``` +You can access your super user account at `/wallet?usr=super_user_id`. You just have to append it to your normal LNbits web domain. After that you will find the __`Admin` / `Manage Server`__ between `Wallets` and `Extensions` diff --git a/lnbits/core/services.py b/lnbits/core/services.py index 85a90c5a2..6433488ad 100644 --- a/lnbits/core/services.py +++ b/lnbits/core/services.py @@ -469,7 +469,7 @@ async def check_admin_settings(): for key, value in settings.dict(exclude_none=True).items(): logger.debug(f"{key}: {value}") - admin_url = f"{settings.lnbits_baseurl}wallet?usr={settings.super_user}" + admin_url = f'{settings.lnbits_baseurl}wallet?usr=' logger.success(f"✔️ Access super user account at: {admin_url}") # saving it to .super_user file