Browse Source

added a todo comment

kaori 4 years ago
parent
commit
3460ee7643
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/server/routes/apiv3/forgot-password.js

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

@@ -49,6 +49,7 @@ module.exports = (crowi) => {
     const appUrl = appService.getSiteUrl();
     const appUrl = appService.getSiteUrl();
 
 
     try {
     try {
+      // need to handle passwordResetOrderData when user not found and not active by GW7060
       const passwordResetOrderData = await PasswordResetOrder.createPasswordResetOrder(email);
       const passwordResetOrderData = await PasswordResetOrder.createPasswordResetOrder(email);
       const url = new URL(`/forgot-password/${passwordResetOrderData.token}`, appUrl);
       const url = new URL(`/forgot-password/${passwordResetOrderData.token}`, appUrl);
       const oneTimeUrl = url.href;
       const oneTimeUrl = url.href;