ed-roh/mern-social-media

data and salt arguments required

vicsnet opened this issue · 1 comments

Hi, when trying the auth/register in postman it brings out this error "error": "data and salt arguments required" kindly help

Hello there,It says the same for me and my login is crashing ever since.
stack overflow says not to use any arrow function which isn't the case with us!
my guess is that somehow newUser.password is undefined.