mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
added custom footer for email option
This commit is contained in:
parent
5786162e09
commit
d58ebb2dd4
1 changed files with 5 additions and 0 deletions
|
@ -469,6 +469,10 @@ if process.env["SHARELATEX_EMAIL_FROM_ADDRESS"]?
|
||||||
secure: parse(process.env["SHARELATEX_EMAIL_SMTP_SECURE"])
|
secure: parse(process.env["SHARELATEX_EMAIL_SMTP_SECURE"])
|
||||||
ignoreTLS: parse(process.env["SHARELATEX_EMAIL_SMTP_IGNORE_TLS"])
|
ignoreTLS: parse(process.env["SHARELATEX_EMAIL_SMTP_IGNORE_TLS"])
|
||||||
|
|
||||||
|
|
||||||
|
templates:
|
||||||
|
customFooter: process.env["SHARELATEX_CUSTOM_EMAIL_FOOTER"]
|
||||||
|
|
||||||
if process.env["SHARELATEX_EMAIL_SMTP_USER"]? or process.env["SHARELATEX_EMAIL_SMTP_PASS"]?
|
if process.env["SHARELATEX_EMAIL_SMTP_USER"]? or process.env["SHARELATEX_EMAIL_SMTP_PASS"]?
|
||||||
settings.email.parameters.auth =
|
settings.email.parameters.auth =
|
||||||
user: process.env["SHARELATEX_EMAIL_SMTP_USER"]
|
user: process.env["SHARELATEX_EMAIL_SMTP_USER"]
|
||||||
|
@ -478,6 +482,7 @@ if process.env["SHARELATEX_EMAIL_FROM_ADDRESS"]?
|
||||||
settings.email.parameters.tls =
|
settings.email.parameters.tls =
|
||||||
rejectUnauthorized: parse(process.env["SHARELATEX_EMAIL_SMTP_TLS_REJECT_UNAUTH"])
|
rejectUnauthorized: parse(process.env["SHARELATEX_EMAIL_SMTP_TLS_REJECT_UNAUTH"])
|
||||||
|
|
||||||
|
|
||||||
# Password Settings
|
# Password Settings
|
||||||
# -----------
|
# -----------
|
||||||
# These restrict the passwords users can use when registering
|
# These restrict the passwords users can use when registering
|
||||||
|
|
Loading…
Reference in a new issue