Skip to content

Commit

Permalink
Docs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
subashsn committed Aug 8, 2018
1 parent b453d73 commit fc7ef00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/solution/a10-insufficient-logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Log from anywhere
var winston = requir('winston')
...
if (!isValidPassword(user, password)) {
logger.log({level:'warn',message:'Failed login attempt for ', username})
winston.log({level:'warn',message:'Failed login attempt for ', username})
return done(null, false, req.flash('danger', 'Invalid Credentials'))
}
...
Expand Down
2 changes: 1 addition & 1 deletion views/vulnerabilities/a10_logging/scenario.ejs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class='markdown'>
* No Scenario for this vulnerability
* Refer to Guidebook
</div>

0 comments on commit fc7ef00

Please sign in to comment.