Open Abhishek0943 opened 1 year ago
your loadUser is working fine?
yes
Yes
have you done react redux for user component if yes then the react component state is remain in redux devtool if you refresh the page
I am note work on frontend i test this in postman
did @Abhishek0943 did you get the solution ! Please share it, I am stuck on this for last 2 days.
In user controller forgot password function containing
await user.save({ validateBeforeSave: false });
This line of code is not work and throw error undefine and number And when i comment out this line then it work properly but then :token in user route give error token expired How can i solve it