barisusakli 11 years ago
parent e0be4d146f
commit de6e74c50e

@ -49,9 +49,10 @@ var async = require('async'),
return winston.error(err.message); return winston.error(err.message);
} }
translator.translate('[[email:welcome-to, ' + (meta.config.title || 'NodeBB') + ']]', meta.config.defaultLang, function(subject) { var title = meta.config.title || meta.config.browserTitle || 'NodeBB';
translator.translate('[[email:welcome-to, ' + title + ']]', meta.config.defaultLang, function(subject) {
var data = { var data = {
site_title: (meta.config.title || 'NodeBB'), site_title: title,
username: username, username: username,
confirm_link: confirm_link, confirm_link: confirm_link,
confirm_code: confirm_code, confirm_code: confirm_code,

Loading…
Cancel
Save