Make SMTP mailer experimental

See coop-cloud/gitea#10.
This commit is contained in:
decentral1se
2021-04-07 13:42:04 +02:00
parent 55d814e555
commit 314cb187c6
4 changed files with 22 additions and 10 deletions
+2
View File
@@ -44,6 +44,7 @@ SECRET_KEY = {{ secret "secret_key" }}
[oauth2]
JWT_SECRET = {{ secret "jwt_secret" }}
{{ if eq (env "GITEA_SMTP_MAILER_ENABLED") "1" }}
[mailer]
ENABLED = true
FROM = {{ env "GITEA_MAILER_FROM" }}
@@ -52,6 +53,7 @@ USER = {{ env "GITEA_MAILER_USER" }}
PASSWD = {{ secret "smtp_passwd" }}
MAILER_TYPE = smtp
IS_TLS_ENABLED = true
{{ end }}
[markup.restructuredtext]
ENABLED = true