Browse Source

change subject titles for each email

kaori 4 years ago
parent
commit
d5876f2da8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/app/src/server/routes/apiv3/forgot-password.js

+ 1 - 1
packages/app/src/server/routes/apiv3/forgot-password.js

@@ -40,7 +40,7 @@ module.exports = (crowi) => {
   async function sendPasswordResetEmail(txtFile, i18n, email, url) {
     return mailService.send({
       to: email,
-      subject: 'Password Reset',
+      subject: txtFile,
       template: path.join(crowi.localeDir, `${i18n}/notifications/${txtFile}.txt`),
       vars: {
         appTitle: appService.getAppTitle(),