diff --git a/lib/models/user.js b/lib/models/user.js index f35053b3..652051ea 100644 --- a/lib/models/user.js +++ b/lib/models/user.js @@ -303,6 +303,7 @@ User.prototype.verify = function (options, fn) { var template = loopback.template(options.template); Email.send({ to: options.to || user.email, + from: options.from, subject: options.subject || 'Thanks for Registering', text: options.text, html: template(options)