diff options
Diffstat (limited to 'modules/email-dispatcher.js')
-rw-r--r-- | modules/email-dispatcher.js | 9 |
1 files changed, 4 insertions, 5 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 +} |