From 8a3fdf20ce12bebf5ec8b886612c037cfbf40992 Mon Sep 17 00:00:00 2001 From: Andreas Brain Date: Tue, 1 Jun 2021 17:28:56 +0200 Subject: [PATCH] Quote mailer password Quoting allows for special characters, see https://docs.gitea.io/en-us/email-setup/ --- templates/gitea.ini.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/gitea.ini.j2 b/templates/gitea.ini.j2 index 4a2a87d..1980fa8 100644 --- a/templates/gitea.ini.j2 +++ b/templates/gitea.ini.j2 @@ -116,7 +116,7 @@ SKIP_VERIFY = {{ gitea_mailer_skip_verify | ternary('true', 'false') }} IS_TLS_ENABLED = {{ gitea_mailer_tls_enabled | ternary('true', 'false') }} FROM = {{ gitea_mailer_from }} USER = {{ gitea_mailer_user }} -PASSWD = {{ gitea_mailer_password }} +PASSWD = `{{ gitea_mailer_password }}` SUBJECT_PREFIX = {{ gitea_subject_prefix }} MAILER_TYPE = {{ gitea_mailer_type }} {{ gitea_mailer_extra_config }}