fix: remove test
This commit is contained in:
parent
f25b2a72f7
commit
fe5efbe8f1
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user