Skip to content

Commit

Permalink
Fixed invalid login loggin
Browse files Browse the repository at this point in the history
  • Loading branch information
ccoverstreet committed Sep 18, 2020
1 parent 1dc64f4 commit f907659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/user_authentication.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Request happened at ${new Date().toLocaleString("sv-SE")}`);
}
} catch (err) {
// Log invalid login and store in file.
console.log(`Invalid login user ${req.body.username} at ${new Date().toLocaleString("sv-SE")}`);
console.log(`Invalid login user "${req.body.username}"`);
console.debug(err);
res.json({status: "fail", message: "Invalid Login"});

Expand Down

0 comments on commit f907659

Please sign in to comment.