[FIX] benutze die mailer.from variable aus dem inventar, statt sie aus hostname und domain zu generieren.

This commit is contained in:
Marius Alwan Meyer 2023-03-11 20:56:41 +01:00
parent f7d3b8b9f5
commit f3d926e3a9

View File

@ -42,7 +42,7 @@ GITEA__service__DEFAULT_ENABLE_TIMETRACKING={{ gitea_vars.service.default_enable
GITEA__mailer__ENABLED={{ gitea_vars.mailer.enabled }} GITEA__mailer__ENABLED={{ gitea_vars.mailer.enabled }}
{% endif %} {% endif %}
{% if 'from' in gitea_vars['mailer'] %} {% if 'from' in gitea_vars['mailer'] %}
GITEA__mailer__FROM=git@{{ system.hostname }}.{{ system.domain }} GITEA__mailer__FROM={{ gitea_vars.mailer.from }}
{% endif %} {% endif %}
{% if 'protocol' in gitea_vars['mailer'] %} {% if 'protocol' in gitea_vars['mailer'] %}
GITEA__mailer__PROTOCOL={{ gitea_vars.mailer.protocol }} GITEA__mailer__PROTOCOL={{ gitea_vars.mailer.protocol }}