iamdevvalecha / T-Picker-Backend

T-Shirt selling website backend
MIT License
7 stars 6 forks source link

security: change password to plainpassword. #35

Closed iamdevvalecha closed 3 years ago

iamdevvalecha commented 3 years ago

under models/user.js:- change line no.61 change
if (!password) return ""; TO if (!plainpassword) return ""; Screenshot from 2021-07-01 16-55-31