Merge pull request #1943 from overleaf/jel-send-pw-changed-email

Send password changed email

GitOrigin-RevId: f80fb21bcb5ec16fc51cc3bd8b40307406526ed1
This commit is contained in:
Jessica Lawshe 2019-07-11 10:21:59 -05:00 committed by sharelatex
parent 95a7069178
commit d07a46c51b

View file

@ -233,6 +233,20 @@ If you didn't request a password reset, let us know.\
}
})
templates.passwordChanged = NoCTAEmailTemplate({
subject(opts) {
return `Password Changed - ${settings.appName}`
},
title(opts) {
return `Password Changed`
},
message(opts) {
return `We're contacting you to notify you that your password has been set or changed.
If you have recently set your password for the first time, or if you just changed your password, you don't need to take any further action. If you didn't set or change your password, please contact us.`
}
})
templates.confirmEmail = CTAEmailTemplate({
subject() {
return `Confirm Email - ${settings.appName}`