mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Added configurable AWS region to email settings (#847)
This commit is contained in:
parent
231456f5d7
commit
3199fd359e
1 changed files with 3 additions and 0 deletions
|
@ -290,6 +290,9 @@ if process.env["SHARELATEX_EMAIL_FROM_ADDRESS"]?
|
|||
template:
|
||||
customFooter: process.env["SHARELATEX_CUSTOM_EMAIL_FOOTER"]
|
||||
|
||||
if process.env["SHARELATEX_EMAIL_AWS_SES_REGION"]?
|
||||
settings.email.parameters.region = process.env["SHARELATEX_EMAIL_AWS_SES_REGION"]
|
||||
|
||||
if process.env["SHARELATEX_EMAIL_SMTP_USER"]? or process.env["SHARELATEX_EMAIL_SMTP_PASS"]?
|
||||
settings.email.parameters.auth =
|
||||
user: process.env["SHARELATEX_EMAIL_SMTP_USER"]
|
||||
|
|
Loading…
Reference in a new issue