Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forgot password #38

Open
Abhishek0943 opened this issue Nov 24, 2022 · 6 comments
Open

Forgot password #38

Abhishek0943 opened this issue Nov 24, 2022 · 6 comments

Comments

@Abhishek0943
Copy link

Abhishek0943 commented Nov 24, 2022

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

@anjali9294
Copy link

your loadUser is working fine?

@shubhamhere
Copy link

yes

@Abhishek0943
Copy link
Author

Yes

@anjali9294
Copy link

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

@Abhishek0943
Copy link
Author

I am note work on frontend i test this in postman

@blackBl00d
Copy link

did @Abhishek0943 did you get the solution ! Please share it, I am stuck on this for last 2 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants