Skip to content

Commit

Permalink
feat(injection): log injection example
Browse files Browse the repository at this point in the history
  • Loading branch information
lirantal committed Oct 8, 2017
1 parent c52b86d commit 6eb6503
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/routes/session.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ function SessionHandler(db) {
var invalidPasswordErrorMessage = "Invalid password";
if (err) {
if (err.noSuchUser) {
console.log('Error: attempt to login with invalid user: ' + userName);
return res.render("login", {
userName: userName,
password: "",
Expand Down

0 comments on commit 6eb6503

Please sign in to comment.