Skip to content

Commit

Permalink
close #169
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffrey-wu committed May 19, 2023
1 parent 5b9bc6f commit 7f008c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ router.post('/login', async (req, res) => {
console.log(`/api/auth: LOGIN: User ${username} successfully logged in.`);
res.sendStatus(200);
} else {
console.log(`/api/auth: LOGIN: User ${username} failed to log in. Attempted password: ${password}`);
console.log(`/api/auth: LOGIN: User ${username} failed to log in.`);
res.sendStatus(401);
}
});
Expand Down

0 comments on commit 7f008c4

Please sign in to comment.