From 27c4c5b467c84ce19cc2f05b27f174a10e7471ad Mon Sep 17 00:00:00 2001 From: Mitch Davis Date: Sun, 21 Dec 2025 11:52:37 +1100 Subject: [PATCH] Put the admin user info in one place (#11047) --- src/backend/InvenTree/config_template.yaml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/backend/InvenTree/config_template.yaml b/src/backend/InvenTree/config_template.yaml index f08d86a84d..a65509f072 100644 --- a/src/backend/InvenTree/config_template.yaml +++ b/src/backend/InvenTree/config_template.yaml @@ -46,6 +46,12 @@ debug_shell: False # Set the admin URL, or use the environment variable INVENTREE_ADMIN_URL #admin_url: 'admin' +# Add new user on first startup by either adding values here or from a file +#admin_user: admin +#admin_email: info@example.com +#admin_password: inventree +#admin_password_file: '/etc/inventree/admin_password.txt' + # Configure the system logging level (or use environment variable INVENTREE_LOG_LEVEL) # Options: DEBUG / INFO / WARNING / ERROR / CRITICAL log_level: WARNING @@ -69,13 +75,6 @@ language: en-us # System time-zone (default is UTC). Reference: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones timezone: UTC - -# Add new user on first startup by either adding values here or from a file -#admin_user: admin -#admin_email: info@example.com -#admin_password: inventree -#admin_password_file: '/etc/inventree/admin_password.txt' - # Email backend configuration # See https://docs.inventree.org/en/stable/settings/email for more information on email configuration # You can either use (1) SMTP, (2) console or (3) anymail backends