Skip to content

Hash volunteer passwords

chava rahul requested to merge feature/hash-volunteer-passwords into develop

Description: This PR updates the /get_volunteers route to ensure all volunteer passwords are securely hashed. If a password is not already hashed, the system will hash it with bcrypt, update it in the database, and return the hashed value. This prevents plain-text passwords from ever being exposed.

Type of Change:

Bug Fix (replaces plain-text storage with secure hashed values)

Testing:

Tested on desktop (API response checked via Postman) Tested on mobile

Screenshots (if applicable): WhatsApp_Image_2025-09-06_at_14.21.50_df30000d

Checklist:

Code follows project style guidelines

Self-review completed

No console errors

TypeScript types are correct (not applicable here, Node/Express used)

Merge request reports

Loading