you should follow code: user.comparePassword(req.body.password, function (err, isMatch) { if (isMatch && !err) { // Create token if the ...
確定! 回上一頁