From a73c915245d1d71d5a94908887ed33364acc13d5 Mon Sep 17 00:00:00 2001 From: barry Date: Fri, 11 Apr 2025 14:16:56 -0500 Subject: [PATCH] * Modified .env for lnbits to make admin screen on by default and add user-id-only / create-user --- hosts | 2 +- roles/apps/templates/lnbits/.env.j2 | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/hosts b/hosts index 76afe19..c0aaa65 100644 --- a/hosts +++ b/hosts @@ -39,7 +39,7 @@ bitcoin_rpcauth=n0xb0x:413f1f82906117464e662853bce33577$80a039d800184a1cffd1de54 electrs_version=0.10.2 rtl_version=0.15.0 rtl_password=n0xb0x -lnbits_version=0.12.1 +lnbits_version=v1.0.0 tor_version=1.0 zerotier_network=74a75ebfb84ab0db #Update wariness - 1 = very reluctant to update, 0 = eager to update diff --git a/roles/apps/templates/lnbits/.env.j2 b/roles/apps/templates/lnbits/.env.j2 index 54f2f19..e2bd1fd 100644 --- a/roles/apps/templates/lnbits/.env.j2 +++ b/roles/apps/templates/lnbits/.env.j2 @@ -10,7 +10,7 @@ # The rest of the settings will be stored in your database and you will be able to change them # only through the Admin UI. # Disable this to make LNbits use this config file again. -LNBITS_ADMIN_UI=false +LNBITS_ADMIN_UI=true # Change theme LNBITS_SITE_TITLE="LNbits" @@ -228,3 +228,8 @@ LOG_RETENTION="3 months" # for database cleanup commands # CLEANUP_WALLETS_DAYS=90 +# +# addins for USER_MANAGER user-id-only auth +LNBITS_USER_MANAGER_AUTH_METHOD=user-id-only +LNBITS_USER_MANAGER_AUTO_CREATE_USER=1 +LNBITS_USER_MANAGER_AUTO_CREATE_WALLET=1