Update logo settings references

This commit is contained in:
Matthias 2022-04-27 13:00:03 +02:00
parent f06a11e206
commit 2c653504ec
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093
2 changed files with 4 additions and 5 deletions

View File

@ -922,9 +922,8 @@ CUSTOMIZE = get_setting(
) )
CUSTOM_LOGO = get_setting( CUSTOM_LOGO = get_setting(
'INVENTREE_LOGO', 'INVENTREE_CUSTOM_LOGO',
CONFIG.get('logo', False), CUSTOMIZE.get('logo', False)
False
) )
# check that the logo-file exsists in media # check that the logo-file exsists in media

View File

@ -188,7 +188,7 @@ static_root: '/home/inventree/data/static'
# Customization options # Customization options
# Add custom messages to the login page or main interface navbar or exchange the logo # Add custom messages to the login page or main interface navbar or exchange the logo
# Use environment variable INVENTREE_CUSTOMIZE or INVENTREE_LOGO # Use environment variable INVENTREE_CUSTOMIZE or INVENTREE_CUSTOM_LOGO
# customize: # customize:
# login_message: | # login_message: |
# InvenTree demo instance - <a href='https://inventree.readthedocs.io/en/latest/demo/'> Click here for login details</a> # InvenTree demo instance - <a href='https://inventree.readthedocs.io/en/latest/demo/'> Click here for login details</a>