From c92cc6b7faed71cde7b08439e13fdd2df0ec8ab1 Mon Sep 17 00:00:00 2001 From: Thomas Chazot Date: Fri, 6 Jan 2023 15:59:59 +0100 Subject: [PATCH] changement des secrets --- api-rest/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api-rest/index.php b/api-rest/index.php index 26c2d72..78e706d 100644 --- a/api-rest/index.php +++ b/api-rest/index.php @@ -20,8 +20,8 @@ //$ini_array= parse_ini_file("config.ini"); $dsn = "mysql:host=". getenv("db_server").";dbname=". getenv("MYSQL_DATABASE"); - $username = getenv("MYSQL_USER_TOM"); - $password = getenv("MYSQL_PASSWORD_TOM"); + $username = "root"; + $password = getenv("MYSQL_ROOT_PASSWORD"); echo getenv("db_server");