User password reset entity fetch called as root as current anonymous user may not have permission to view user accounts.
Email trigger was not set up as triggers module was not loaded by the time the email module was. Fixed by wrapping in a dbReady event.
Trigger was sending through incorrect parameters
Email from address was hardcoded to adam@therabbitden.com . Changed to allow for a sendEmail variable in config. If not set, sets to irisjs@irisjs.org as a slightly better default. [fixes #277]
Log email errors better. Even failed sends were being marked as sent. JSON stringifying whatever the email server sends back and logging on error via iris.log
dbReady
event.adam@therabbitden.com
. Changed to allow for a sendEmail variable in config. If not set, sets toirisjs@irisjs.org
as a slightly better default. [fixes #277]