فهرست منبع

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

Send password changed email

GitOrigin-RevId: f80fb21bcb5ec16fc51cc3bd8b40307406526ed1
Jessica Lawshe 7 سال پیش
والد
کامیت
d07a46c51b
1فایلهای تغییر یافته به همراه14 افزوده شده و 0 حذف شده
  1. 14 0
      services/web/app/src/Features/Email/EmailBuilder.js

+ 14 - 0
services/web/app/src/Features/Email/EmailBuilder.js

@@ -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}`