소스 검색

added a todo comment

kaori 4 년 전
부모
커밋
3460ee7643
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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();
 
     try {
+      // need to handle passwordResetOrderData when user not found and not active by GW7060
       const passwordResetOrderData = await PasswordResetOrder.createPasswordResetOrder(email);
       const url = new URL(`/forgot-password/${passwordResetOrderData.token}`, appUrl);
       const oneTimeUrl = url.href;