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:
parent
0d2447faf3
commit
26ca8c71d7
8 changed files with 57 additions and 24 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue