Closed samrxth closed 3 years ago
I'm not a blitz expert, but to my understanding the /reset-password page expects a token as a query parameter, it obviously won't work without it.
You first need to go to /forgot-password and submit the form with your account email, this will generate and save a RESET_PASSWORD
token for that account (see forgotPassword.ts
mutation).
Then you'll receive an email (in dev you'll just get the preview to open in the browser, see forgotPasswordMailer.ts
) with the correct /reset-password link and with the token as a query param, if you click on that the reset should work.
Thanks, works now
What is the problem?
Using the boilerplate code, Login, signup and mailing works but reseting passwords doesn't.
Paste all your error logs here:
N/A
Paste all relevant code snippets here:
All relevant code is boilerplate.
What are detailed steps to reproduce this?
Run
blitz -v
and paste the output here:Please include below any other applicable logs and screenshots that show your problem:
No response