fix should hard code domain for password reset
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user