mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-21 22:32:44 +02:00
Hide the superuser ID URL from logs with comment where to find superuser ID (#1749)
* Hide the superuser ID URL from logs with comment where to find admin ID
* Update admin_ui.md
---------
Co-authored-by: dni ⚡ <office@dnilabs.com>
This commit is contained in:
parent
9017cee491
commit
7c479a3ebf
@ -55,11 +55,12 @@ Now start LNbits once in the terminal window
|
|||||||
```
|
```
|
||||||
$ poetry run lnbits
|
$ poetry run lnbits
|
||||||
```
|
```
|
||||||
It will now show you the Super User Account:
|
You can now `cat` the Super User ID:
|
||||||
|
```
|
||||||
`SUCCESS | ✔️ Access super user account at: https://127.0.0.1:5000/wallet?usr=5711d7..`
|
$ cat .super_user
|
||||||
|
123de4bfdddddbbeb48c8bc8382fe123
|
||||||
The `/wallet?usr=..` is your super user account. You just have to append it to your normal LNbits web domain.
|
```
|
||||||
|
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`
|
After that you will find the __`Admin` / `Manage Server`__ between `Wallets` and `Extensions`
|
||||||
|
|
||||||
|
@ -469,7 +469,7 @@ async def check_admin_settings():
|
|||||||
for key, value in settings.dict(exclude_none=True).items():
|
for key, value in settings.dict(exclude_none=True).items():
|
||||||
logger.debug(f"{key}: {value}")
|
logger.debug(f"{key}: {value}")
|
||||||
|
|
||||||
admin_url = f"{settings.lnbits_baseurl}wallet?usr={settings.super_user}"
|
admin_url = f'{settings.lnbits_baseurl}wallet?usr=<ID from ".super_user" file>'
|
||||||
logger.success(f"✔️ Access super user account at: {admin_url}")
|
logger.success(f"✔️ Access super user account at: {admin_url}")
|
||||||
|
|
||||||
# saving it to .super_user file
|
# saving it to .super_user file
|
||||||
|
Loading…
x
Reference in New Issue
Block a user