Sahil1786 / Petari

Food donate Web App
Other
55 stars 116 forks source link

Security Issue: Storing Passwords Without Protection in NGORoutes.js #60

Open its-AkshatJain opened 2 months ago

its-AkshatJain commented 2 months ago

In the NGORoutes.js file, when users register as NGOs, their passwords are being stored as plain text in the database. This means that if someone gains unauthorized access to the database, they could easily see users' passwords. To keep user information safe, passwords should be encrypted (hashed) before saving them. This adds an extra layer of security by making it difficult for hackers to decipher passwords even if they get access to the database.

I am GSSOC'24 Contributer. Please assign me this task.

nipun1234 commented 2 months ago

Pls Assign this issue to me, I will work on it.

its-AkshatJain commented 2 months ago

I have solved this issue and created a pull request. Please review and suggest changes if required.