fixed password reset email
This commit is contained in:
parent
1092f0da7f
commit
7ad79c4882
|
@ -66,7 +66,7 @@ exports.forgot = function(req, res, next) {
|
||||||
},
|
},
|
||||||
function(token, user, done) {
|
function(token, user, done) {
|
||||||
res.render('templates/reset-password-email', {
|
res.render('templates/reset-password-email', {
|
||||||
name: user.displayName,
|
name: user.displayName || "TellForm User",
|
||||||
appName: config.app.title,
|
appName: config.app.title,
|
||||||
url: 'http://' + req.headers.host + '/auth/reset/' + token
|
url: 'http://' + req.headers.host + '/auth/reset/' + token
|
||||||
}, function(err, emailHTML) {
|
}, function(err, emailHTML) {
|
||||||
|
|
Loading…
Reference in a new issue