Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Hide email address #549

Merged
merged 1 commit into from
May 17, 2015
Merged

Hide email address #549

merged 1 commit into from
May 17, 2015

Conversation

vepasto
Copy link
Contributor

@vepasto vepasto commented May 6, 2015

Email address should not be shown to client

@@ -74,7 +74,7 @@ exports.forgot = function(req, res, next) {
smtpTransport.sendMail(mailOptions, function(err) {
if (!err) {
res.send({
message: 'An email has been sent to ' + user.email + ' with further instructions.'
message: 'An email has been sent to users email with further instructions.'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just the provided email?

@ilanbiala ilanbiala added this to the 0.4.0 milestone May 6, 2015
@ilanbiala ilanbiala self-assigned this May 6, 2015
Email address should not be shown to client
@ilanbiala
Copy link
Member

LGTM.

ilanbiala added a commit that referenced this pull request May 17, 2015
Hide email address when reseting password
@ilanbiala ilanbiala merged commit 6fddcf4 into meanjs:0.4.0 May 17, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants