Skip to content

Commit

Permalink
✅Version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Maikelek committed Aug 10, 2023
1 parent 0660fa1 commit e11c87a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ctf_game/backend/controllers/authController.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const validateUser = async (req, res) => {
} else {
db.query("SELECT * FROM `users` WHERE email = ?", [email], async (error, results) => {
if ( results.length == 0 ) {
return res.json({ message: "User does not exist používateľ" });
return res.json({ message: "User does not exist" });
} else {
if (await bcrypt.compare(password, results[0].password)) {

Expand Down

0 comments on commit e11c87a

Please sign in to comment.