From e11c87a30a816223381f4460a439494f88042341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mari=C3=A1n=20Zelinka?= <96266137+Maikelek@users.noreply.github.com> Date: Thu, 10 Aug 2023 23:00:11 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=85Version=201.0.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ctf_game/backend/controllers/authController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctf_game/backend/controllers/authController.js b/ctf_game/backend/controllers/authController.js index b15b0f4..22e9800 100644 --- a/ctf_game/backend/controllers/authController.js +++ b/ctf_game/backend/controllers/authController.js @@ -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)) {