diff --git a/server/accounts.js b/server/accounts.js index c2a910a..4a75f3a 100644 --- a/server/accounts.js +++ b/server/accounts.js @@ -336,7 +336,7 @@ const passwordRecoverRequest = (connection) => (req, res) => { //build the recovery email let addr = `http://${process.env.WEB_ADDRESS}/passwordreset?email=${fields.email}&token=${rand}`; let msg = 'Hello! Please visit the following address to set a new password (if you didn\'t request a password recovery, ignore this email): '; - let msgHtml = `

${msg}${addr}

`; +// let msgHtml = `

${msg}${addr}

`; //BUGFIX: is gmail being cruel? let sentinel = false; @@ -347,7 +347,7 @@ const passwordRecoverRequest = (connection) => (req, res) => { to: fields.email, subject: 'Password Recovery', text: msg + addr, - html: msgHtml +// html: msgHtml }, (err, reply) => { //final check if (err) {