From 2f301e315a774658ed36f2face58cff089d21d4b Mon Sep 17 00:00:00 2001 From: Doug Toppin Date: Sun, 23 Feb 2014 21:08:13 -0500 Subject: [PATCH] Sending email was missing the from field --- lib/models/user.js | 1 + 1 file changed, 1 insertion(+) 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)