start fixing the password in scope potential corner case security issue

This commit is contained in:
Michael Q Larson
2015-03-17 17:22:58 -07:00
parent f144e84310
commit f1dcb4c373
3 changed files with 4 additions and 3 deletions

View File

@@ -159,7 +159,6 @@ exports.returnIndividualStory = function(req, res, next) {
upVotes: story.upVotes,
comments: story.comments,
id: story._id,
user: req.user || null,
timeAgo: moment(story.timePosted).fromNow(),
image: story.image,
page: 'show',