[REFACTOR] .super_user move it into data dir (#1900)

related to https://github.com/lnbits/lnbits/pull/1855
put the `.super_user` into our data_dir to not pollute our root dir
removed the weird mention to the url in the logs and mention
the `lnbits-cli superuser` instead

this is a breaking change for the bundlers, `cat .super_user` is not good anymore.
fix would be `cat data/.super_user` but for future compatibility i recommend
using `poetry run lnbits-cli superuser`
This commit is contained in:
dni ⚡ 2023-09-11 13:19:19 +02:00 committed by GitHub
parent 2c53445b5e
commit 6773a0f533
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 8 deletions

1
.gitignore vendored
View file

@ -23,7 +23,6 @@ tests/data/*.sqlite3
*.pyc
*.env
.env
.super_user
.pre-commit-config.yaml
data