diff --git a/Source/API/script/Config/config.php b/Source/API/script/Config/config.php index c577855..ffd5019 100644 --- a/Source/API/script/Config/config.php +++ b/Source/API/script/Config/config.php @@ -9,11 +9,10 @@ function connect() { $dsn = "mysql:host=localhost;dbname=formulaire;charset=utf8"; $login = "root"; - $password = "root"; try { - $connection = new Connection($dsn,$login,$password); + $connection = new Connection($dsn,$login,"root"); } catch (PDOException $e){ http_response_code(404);