#182 possible fix to password reset

This commit is contained in:
Cassie Tarakajian 2016-12-13 13:28:01 -05:00
parent d338513322
commit 9e61382e87

View file

@ -109,7 +109,7 @@ export function resetPasswordInitiate(req, res) {
const transporter = nodemailer.createTransport(mg(auth)); const transporter = nodemailer.createTransport(mg(auth));
const message = { const message = {
to: user.email, to: user.email,
from: 'p5.js Web Editor <noreply@mg.p5js.org>', from: 'p5.js Web Editor <noreply@p5js.org>',
subject: 'p5.js Web Editor Password Reset', subject: 'p5.js Web Editor Password Reset',
text: `You are receiving this email because you (or someone else) have requested the reset of the password for your account. text: `You are receiving this email because you (or someone else) have requested the reset of the password for your account.
\n\nPlease click on the following link, or paste this into your browser to complete the process: \n\nPlease click on the following link, or paste this into your browser to complete the process: