Browse Source

added a comment

kaori 4 years ago
parent
commit
e3a855a5b7
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

@@ -71,6 +71,7 @@ module.exports = (crowi) => {
 
     const user = await User.findOne({ email });
 
+    // when the user is not found or active
     if (user == null || user.status !== 2) {
       return res.apiv3Err('update-password-failed');
     }