2
0
kaori 4 жил өмнө
parent
commit
e3a855a5b7

+ 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');
     }