add possibility to turn off new registrations (#2017)
with LNBITS_ALLOW_NEW_ACCOUNTS=false while keeping existing users functional (i.e. no allowlist for existing users)
This commit is contained in:
parent
b2384c10cc
commit
ba0e431199
6 changed files with 20 additions and 6 deletions
|
|
@ -21,6 +21,9 @@ LNBITS_ADMIN_USERS=""
|
|||
# Extensions only admin can access
|
||||
LNBITS_ADMIN_EXTENSIONS="ngrok, admin"
|
||||
|
||||
# Disable account creation for new users
|
||||
# LNBITS_ALLOW_NEW_ACCOUNTS=false
|
||||
|
||||
# Enable Admin GUI, available for the first user in LNBITS_ADMIN_USERS if available
|
||||
# Warning: Enabling this will make LNbits ignore this configuration file. Your settings will
|
||||
# be stored in your database and you will be able to change them only through the Admin UI.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue