📜  需要数据和哈希 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:34.776000             🧑  作者: Mango

代码示例1
await User.findOne({email: req.body.email})//from which i can use user.password in the //bcrypt compare method