Skip to content

Commit 8a3fdf2

Browse files
authored
Quote mailer password
Quoting allows for special characters, see https://docs.gitea.io/en-us/email-setup/
1 parent 4c349ed commit 8a3fdf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/gitea.ini.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ SKIP_VERIFY = {{ gitea_mailer_skip_verify | ternary('true', 'false') }}
116116
IS_TLS_ENABLED = {{ gitea_mailer_tls_enabled | ternary('true', 'false') }}
117117
FROM = {{ gitea_mailer_from }}
118118
USER = {{ gitea_mailer_user }}
119-
PASSWD = {{ gitea_mailer_password }}
119+
PASSWD = `{{ gitea_mailer_password }}`
120120
SUBJECT_PREFIX = {{ gitea_subject_prefix }}
121121
MAILER_TYPE = {{ gitea_mailer_type }}
122122
{{ gitea_mailer_extra_config }}

0 commit comments

Comments
 (0)