From 9a20368abd4197d6e26f19228de60734da61e270 Mon Sep 17 00:00:00 2001 From: BB Date: Tue, 9 Jan 2024 09:13:33 +0100 Subject: [PATCH] yeah --- server/index.js | 2 +- static/login.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/index.js b/server/index.js index e2296df..cdca735 100644 --- a/server/index.js +++ b/server/index.js @@ -80,7 +80,7 @@ app.post('/login', function(req, res) { res.send(handlebars.compile(fs.readFileSync(path.join(dynPath, 'error.hbs'), 'utf8'))({ error: 'Adjon meg egy felhasználónevet, email-t és jelszavat' })) res.end() } - } else if (kind === 'Bejelentkezés') { + } else if (kind === 'Belépés') { if (password && email) { connection.query('SELECT * FROM accounts WHERE email = ? AND password = ?', [email, password], (error, results) => { if (error) { diff --git a/static/login.html b/static/login.html index a996eb9..86f8eb1 100644 --- a/static/login.html +++ b/static/login.html @@ -34,8 +34,8 @@
-
- +
+