adds template variable for IS_TLS_ENABLED
This commit is contained in:
parent
fcae409935
commit
d339c620e9
2 changed files with 4 additions and 2 deletions
|
@ -37,8 +37,10 @@ gitea_require_signin: true
|
||||||
gitea_enable_captcha: true
|
gitea_enable_captcha: true
|
||||||
|
|
||||||
gitea_force_private: false
|
gitea_force_private: false
|
||||||
|
|
||||||
gitea_mailer_enabled: false
|
gitea_mailer_enabled: false
|
||||||
gitea_mailer_skip_verify: true
|
gitea_mailer_skip_verify: false
|
||||||
|
gitea_mailer_tls_enabled: true
|
||||||
gitea_mailer_host: localhost:25
|
gitea_mailer_host: localhost:25
|
||||||
gitea_mailer_from: noreply@your.domain
|
gitea_mailer_from: noreply@your.domain
|
||||||
|
|
||||||
|
|
|
@ -421,7 +421,7 @@ USE_CERTIFICATE = false
|
||||||
CERT_FILE = {{ gitea_home }}/custom/mailer/cert.pem
|
CERT_FILE = {{ gitea_home }}/custom/mailer/cert.pem
|
||||||
KEY_FILE = {{ gitea_home }}/custom/mailer/key.pem
|
KEY_FILE = {{ gitea_home }}/custom/mailer/key.pem
|
||||||
; Should SMTP connection use TLS
|
; Should SMTP connection use TLS
|
||||||
IS_TLS_ENABLED = false
|
IS_TLS_ENABLED = {{ gitea_mailer_tls_enabled }}
|
||||||
; Mail from address, RFC 5322. This can be just an email address, or the `"Name" <email@example.com>` format
|
; Mail from address, RFC 5322. This can be just an email address, or the `"Name" <email@example.com>` format
|
||||||
FROM = {{ gitea_mailer_from }}
|
FROM = {{ gitea_mailer_from }}
|
||||||
; Mailer user name and password
|
; Mailer user name and password
|
||||||
|
|
Loading…
Reference in a new issue