Blog-App-using-MERN-stack
Blog-App-using-MERN-stack copied to clipboard
Add salt to password hashing and improve security
Fixes #49
Problem:
- Passwords were hashed without an explicit salt, making them weaker.
Solution:
- Added bcrypt salt (10 rounds) to the signUp function.
- Updated user.save() to use await for proper error handling.
- Password verification remains secure with compareSync.
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| blog-app-using-mern-stack | Sep 7, 2025 5:02pm |
@Anshv784 resolve the conflict