kaori 4 лет назад
Родитель
Сommit
6570dba52f

+ 5 - 0
packages/app/resource/locales/en_US/notifications/notActiveUser.txt

@@ -6,3 +6,8 @@ A request has been received to change the password from {{ appTitle }}.
 However, this email is not registerd. Please try again with different email.
 However, this email is not registerd. Please try again with different email.
 
 
 If you did not request a password reset, you can safely ignore this email.
 If you did not request a password reset, you can safely ignore this email.
+
+-------------------------------------------------------------------------
+
+GROWI: {{ appTitle }}
+Site URL: {{ url }}

+ 5 - 0
packages/app/resource/locales/ja_JP/notifications/notActiveUser.txt

@@ -6,3 +6,8 @@
 他のemailアドレスで再度お試しください。
 他のemailアドレスで再度お試しください。
 
 
 もしこのリクエストに心当たりがない場合は、このメールを無視してください。
 もしこのリクエストに心当たりがない場合は、このメールを無視してください。
+
+-------------------------------------------------------------------------
+
+GROWI: {{ appTitle }}
+サイト URL: {{ url }}

+ 5 - 0
packages/app/resource/locales/zh_CN/notifications/notActiveUser.txt

@@ -6,3 +6,8 @@
 但是,此电子邮件未注册。请使用其他电子邮件重试。
 但是,此电子邮件未注册。请使用其他电子邮件重试。
 
 
 如果您没有要求重置密码,则可以放心地忽略此电子邮件。
 如果您没有要求重置密码,则可以放心地忽略此电子邮件。
+
+-------------------------------------------------------------------------
+
+GROWI: {{ appTitle }}
+网站网址: {{ url }}

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

@@ -62,7 +62,7 @@ module.exports = (crowi) => {
 
 
       // when the user is not found or active
       // when the user is not found or active
       if (user == null || user.status !== 2) {
       if (user == null || user.status !== 2) {
-        await sendPasswordResetEmail('notActiveUser', i18n, email);
+        await sendPasswordResetEmail('notActiveUser', i18n, email, appUrl);
         return res.apiv3();
         return res.apiv3();
       }
       }