Deactivate all extensions flag (#2206)
* feat: allow all extension deactivation * doc: updated comment * fix: make sure `register_routes` executes after installed extensions are checked * chore: code format * fix: do not run migration on deactivated extensions * fix: make sure the deactivated extension list is loaded in time * feat: register extension routes if extension never loaded before * fix: move `load_disabled_extension_list` * doc: disable by default
This commit is contained in:
@@ -141,6 +141,9 @@ LNBITS_ADMIN_USERS=""
|
||||
# Extensions only admin can access
|
||||
LNBITS_ADMIN_EXTENSIONS="ngrok, admin"
|
||||
|
||||
# Start LNbits core only. The extensions are not loaded.
|
||||
# LNBITS_EXTENSIONS_DEACTIVATE_ALL=true
|
||||
|
||||
# Disable account creation for new users
|
||||
# LNBITS_ALLOW_NEW_ACCOUNTS=false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user