You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got strange response hitting the server with above route. I passed in the email, then try to console.log(err) and the response, both returned null, what is wrong?? I do have a record with tht email in my db.
The text was updated successfully, but these errors were encountered:
that route uses mailgun to send an email with the password you are providing to the route. If you did not configure the mailgun settings with your own account, it will not work. I ended up using nodemailer instead of mailgun to send the email. I went into the authentication controller in the server and found the request new password endpoint. There I was able to set up my own email instead of using whatever email service he is using
http://localhost:3000/api/auth/forgot-password
I got strange response hitting the server with above route. I passed in the email, then try to console.log(err) and the response, both returned null, what is wrong?? I do have a record with tht email in my db.
The text was updated successfully, but these errors were encountered: