Merge pull request #798 from overleaf/msm-fix-email-custom-footer

Fix email custom footer
This commit is contained in:
Miguel Serrano 2020-10-21 12:05:29 +02:00 committed by GitHub
commit e0cbb155a9
2 changed files with 2 additions and 2 deletions

View file

@ -69,7 +69,7 @@ services:
# SHARELATEX_EMAIL_SMTP_PASS:
# SHARELATEX_EMAIL_SMTP_TLS_REJECT_UNAUTH: true
# SHARELATEX_EMAIL_SMTP_IGNORE_TLS: false
# SHARELATEX_CUSTOM_EMAIL_FOOTER: "<div>This system is run by department x </div>"
# SHARELATEX_CUSTOM_EMAIL_FOOTER: "This system is run by department x"
################
## Server Pro ##

View file

@ -283,7 +283,7 @@ if process.env["SHARELATEX_EMAIL_FROM_ADDRESS"]?
ignoreTLS: parse(process.env["SHARELATEX_EMAIL_SMTP_IGNORE_TLS"])
textEncoding: process.env["SHARELATEX_EMAIL_TEXT_ENCODING"]
templates:
template:
customFooter: process.env["SHARELATEX_CUSTOM_EMAIL_FOOTER"]
if process.env["SHARELATEX_EMAIL_SMTP_USER"]? or process.env["SHARELATEX_EMAIL_SMTP_PASS"]?