From fe5efbe8f1ecc3cb7fca2c6e695d2871e3777964 Mon Sep 17 00:00:00 2001 From: Johannes Kantz <67144859+JohannesKantz@users.noreply.github.com> Date: Thu, 12 Jan 2023 15:04:49 +0100 Subject: [PATCH] fix: remove test --- index.php | 1 - 1 file changed, 1 deletion(-) diff --git a/index.php b/index.php index fbe2500..c913f1f 100644 --- a/index.php +++ b/index.php @@ -40,7 +40,6 @@ $app->post("/login", function( array $req, Response $res) use ($db) { $username = $req["body"]["username"]; $password = $req["body"]["password"]; - $user = $db->select("utente", ["nomeUtente" => $username]); $user = new User(); $usertoken = $user->loginWithUsername($username, $password);