fix: remove test

This commit is contained in:
Johannes Kantz 2023-01-12 15:04:49 +01:00
parent f25b2a72f7
commit fe5efbe8f1

View File

@ -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);