Task: Implement Mongoose Password Hashing with Pre-Save Hook
Task: Implement Mongoose Password Hashing with Pre-Save Hook: a task in Terminal-Lego-15k (Harbor dataset). You need to implement a secure password hashing solution for a MongoDB user account system using Mongoose. The challenge is that password hashing functions (like bcrypt) are asynchronous…
The task
You need to implement a secure password hashing solution for a MongoDB user account system using Mongoose. The challenge is that password hashing functions (like bcrypt) are asynchronous, which means simple setters won't work since they only support synchronous operations.
Part of PrimeIntellect/Terminal-Lego-15k.