Skip to content

Commit

Permalink
EditProfile bugfix, Readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
sns-temp committed Nov 24, 2017
1 parent b482a3a commit e6461e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ The application comes with a developer friendly comprehensive guide which can be
4. Recommendations for avoid such vulnerabilities
5. References for learning more

The blog post for this release is at https://blog.appsecco.com/damn-vulnerable-nodejs-application-dvna-by-appsecco-7d782d36dc1e

## Getting Started

DVNA can be deployed in three ways
Expand Down
6 changes: 3 additions & 3 deletions core/appHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@ module.exports.userEditSubmit = function (req, res) {
user.save().then(function () {
req.flash('success',"Updated successfully")
res.render('app/useredit', {
userId: req.user.id,
userEmail: req.user.email,
userName: req.user.name,
userId: req.body.id,
userEmail: req.body.email,
userName: req.body.name,
})
})
})
Expand Down

0 comments on commit e6461e8

Please sign in to comment.