Adjust default email settings

This commit is contained in:
Oliver Walters 2021-04-13 20:15:09 +10:00
parent 96efb0eb28
commit 04318c6d70
2 changed files with 2 additions and 5 deletions

View File

@ -524,10 +524,7 @@ EMAIL_HOST_PASSWORD = get_setting(
email_config.get('password', ''), email_config.get('password', ''),
) )
EMAIL_SUBJECT_PREFIX = get_setting( EMAIL_SUBJECT_PREFIX = '[InvenTree] ')
'INVENTREE_EMAIL_PREFIX',
email_config.get('prefix', '[InvenTree] '),
)
EMAIL_USE_LOCALTIME = False EMAIL_USE_LOCALTIME = False

View File

@ -80,11 +80,11 @@ currencies:
# Refer to the InvenTree documentation for more information # Refer to the InvenTree documentation for more information
email: email:
# backend: 'django.core.mail.backends.smtp.EmailBackend'
host: '' host: ''
port: 25 port: 25
username: '' username: ''
password: '' password: ''
prefix: '[InvenTree] '
tls: False tls: False
ssl: False ssl: False