Don't create user if allowed users is set (#1822)

* dont allow creating of users when allowed users are set
* add info to .env.example

---------

Co-authored-by: dni  <office@dnilabs.com>
This commit is contained in:
Tiago Vasconcelos
2023-09-26 08:08:36 +02:00
committed by GitHub
co-authored by dni ⚡
parent 5b16f54857
commit d79a55b4c6
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -15,6 +15,7 @@ LNBITS_ALLOWED_IPS=""
LNBITS_BLOCKED_IPS=""
# Allow users and admins by user IDs (comma separated list)
# if set new users will not be able to create accounts
LNBITS_ALLOWED_USERS=""
LNBITS_ADMIN_USERS=""
# Extensions only admin can access