Skip to content

Commit

Permalink
Merge pull request #5303 from tushdante/master
Browse files Browse the repository at this point in the history
Fixed the invite user email to include the email address of the user …
  • Loading branch information
ErisDS committed May 21, 2015
2 parents dcb15b6 + 3fca65a commit a330f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/server/api/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ sendInviteEmail = function sendInviteEmail(user) {
var emailData;

return Promise.join(
users.read({id: user.created_by}),
users.read({id: user.created_by, context: {internal: true}}),
settings.read({key: 'title'}),
settings.read({context: {internal: true}, key: 'dbHash'})
).then(function (values) {
Expand Down

0 comments on commit a330f08

Please sign in to comment.