Fix link in email notifications

v1.18.x
Fokke Zandbergen 10 years ago
parent 27049a2180
commit 3a090ef308

@ -154,6 +154,7 @@ module.exports = function(Topics) {
postBody: postData.content, postBody: postData.content,
site_title: meta.config.title || 'NodeBB', site_title: meta.config.title || 'NodeBB',
username: data.userData.username, username: data.userData.username,
userslug: data.userData.userslug,
url: nconf.get('url') + '/topic/' + postData.topic.tid, url: nconf.get('url') + '/topic/' + postData.topic.tid,
base_url: nconf.get('url') base_url: nconf.get('url')
}, next); }, next);
@ -166,4 +167,4 @@ module.exports = function(Topics) {
} }
], callback); ], callback);
}; };
}; };

Loading…
Cancel
Save