Skip to content

Commit

Permalink
Merge branch 'master' into npm-heroku
Browse files Browse the repository at this point in the history
  • Loading branch information
wyattjoh authored Dec 22, 2016
2 parents a5527f9 + 1612009 commit f6a683a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion routes/api/users/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ router.post('/request-password-reset', (req, res, next) => {

const options = {
subject: 'Password Reset Requested - Talk',
from: '[email protected]',
from: process.env.TALK_SMTP_FROM_ADDRESS,
to: email,
html: resetEmailTemplate({
token,
Expand Down
1 change: 1 addition & 0 deletions services/mailer.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const nodemailer = require('nodemailer');

const smtpRequiredProps = [
'TALK_SMTP_FROM_ADDRESS',
'TALK_SMTP_USERNAME',
'TALK_SMTP_PASSWORD',
'TALK_SMTP_HOST'
Expand Down

0 comments on commit f6a683a

Please sign in to comment.