Made System Email Variables UPPER

This commit is contained in:
2025-08-19 09:34:18 +02:00
parent 0a4b9bc8e4
commit d3cc187c3b
24 changed files with 83 additions and 84 deletions

View File

@@ -81,8 +81,8 @@ MOBILIZON_INSTANCE_SECRET_KEY={{ applications | get_app_conf(application_id, 'cr
# The SMTP server
# Defaults to localhost
MOBILIZON_SMTP_SERVER={{ system_email.host }}
MOBILIZON_SMTP_PORT={{ system_email.port }}
MOBILIZON_SMTP_SERVER={{ SYSTEM_EMAIL.HOST }}
MOBILIZON_SMTP_PORT={{ SYSTEM_EMAIL.PORT }}
MOBILIZON_SMTP_USERNAME={{ users['no-reply'].email }}
MOBILIZON_SMTP_PASSWORD={{ users['no-reply'].mailu_token }}
@@ -98,4 +98,4 @@ MOBILIZON_INSTANCE_DISABLE_DATABASE_LOGIN={{ (applications | get_app_conf(applic
# Allowed values: always (TLS), never (Clear) and if_available (STARTTLS)
# Make sure to match the port value as well
# Defaults to "if_available"
MOBILIZON_SMTP_TLS={% if system_email.tls %}TLS{% elif system_email.start_tls %}STARTTLS{% else %}Clear{% endif %}
MOBILIZON_SMTP_TLS={% if SYSTEM_EMAIL.TLS %}TLS{% elif SYSTEM_EMAIL.START_TLS %}STARTTLS{% else %}Clear{% endif %}