Skip to content

Commit

Permalink
fix(service): Email config was incorrectly referenced
Browse files Browse the repository at this point in the history
  • Loading branch information
pilsy committed Jun 12, 2015
1 parent d38e8db commit 3b0d8e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/UserService.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ module.exports = function(Service, Promise, Exceptions, config, utils, UserModel
resolve({
hash : md5.digest('hex'),
expTime : moment.utc().add('hours', 8).valueOf(),
tpl : emailConfig.email.template[type],
tpl : emailConfig.template[type],
action : !user.confirmed ? 'account/confirm' : 'resetPassword',
subject : emailConfig.email.subject[type],
subject : emailConfig.subject[type],
user : user,

tplData : tplData || {}
Expand Down

0 comments on commit 3b0d8e3

Please sign in to comment.