diff --git a/serwer/app/apiRoutes.js b/serwer/app/apiRoutes.js index 988eee7..60980da 100644 --- a/serwer/app/apiRoutes.js +++ b/serwer/app/apiRoutes.js @@ -25,7 +25,6 @@ api.use(bodyParser.json()); api.post("/loginPanel", function(req, res) { var login = req.body.login; var password = req.body.password; - console.log(req.body); con.query("SELECT * FROM login WHERE login = ? AND haslo = SHA1(?)", [login, password], function(err, result) { //jeżeli znajdziesz wygeneruj token i zapamiętaj go w bazie