diff options
-rw-r--r-- | modules/email-dispatcher.js | 9 | ||||
-rw-r--r-- | package.json | 3 |
2 files changed, 6 insertions, 6 deletions
diff --git a/modules/email-dispatcher.js b/modules/email-dispatcher.js index 3918d0b..b0c40a2 100644 --- a/modules/email-dispatcher.js +++ b/modules/email-dispatcher.js @@ -1,5 +1,5 @@ -var ES = require('./email-settings'); +var ES = require('../config/email-settings'); var EM = {}; module.exports = EM; @@ -25,13 +25,12 @@ EM.dispatchResetPasswordLink = function(account, callback) EM.composeEmail = function(o) { - var link = 'http://node-login.braitsch.io/reset-password?e='+o.email+'&p='+o.pass; + var link = 'https://divid.no/reset-password?e='+o.email+'&p='+o.pass; var html = "<html><body>"; html += "Hi "+o.name+",<br><br>"; html += "Your username is :: <b>"+o.user+"</b><br><br>"; html += "<a href='"+link+"'>Please click here to reset your password</a><br><br>"; - html += "Cheers,<br>"; - html += "<a href='http://twitter.com/braitsch'>braitsch</a><br><br>"; + html += "Cheers<br>"; html += "</body></html>"; return [{data:html, alternative:true}]; -}
\ No newline at end of file +} diff --git a/package.json b/package.json index 7ae20a5..b244bc5 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "express": "3.1.0", "ejs": "*", "mongoose": "*", - "connect": "*" + "connect": "*", + "emailjs": "*" } } |