i want hash the password during update process. have done hashing of password during save. during update pre hook not supported in mongodb. how can hash password if password has been changed during update in express.js using bcrypt , mongoose.
i want hash the password during update process. have done hashing of password during save. during update pre hook not supported in mongodb. how can hash password if password has been changed during update in express.js using bcrypt , mongoose.
Comments
Post a Comment