fix should hard code domain for password reset

This commit is contained in:
Berkeley Martinez
2015-08-18 01:40:26 -07:00
parent 1d3f7331fb
commit 456bf20b05

View File

@ -93,7 +93,7 @@ module.exports = function(User) {
url = `http://${host}:${port}/reset-password?access_token=${token}`; url = `http://${host}:${port}/reset-password?access_token=${token}`;
} else { } else {
url = url =
`http://${host}/reset-password?access_token=${token}`; `http://freecodecamp.com/reset-password?access_token=${token}`;
} }
// the email of the requested user // the email of the requested user