-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Timestamping all successful login attempts should be done within the /login route's controller.
Lines 11 to 19 in 767391d
| router.post("/login", async (req, res) => { | |
| const username = req.body.username; | |
| const password = req.body.password; | |
| try { | |
| console.log(`awaiting db...`) | |
| const data = await databaseClient.query( | |
| `SELECT * FROM users WHERE username = $1 AND password = $2`, | |
| [username, password] |
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request