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

Change password doesn't work #25

Open
eldyvoon opened this issue Jun 14, 2017 · 1 comment
Open

Change password doesn't work #25

eldyvoon opened this issue Jun 14, 2017 · 1 comment

Comments

@eldyvoon
Copy link

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.

@jamesjsewell
Copy link

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

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

2 participants