From 21b231d54895d9d21bd9a8acfec52fe897ca2a76 Mon Sep 17 00:00:00 2001 From: Thomas Chazot Date: Tue, 10 Jan 2023 19:27:52 +0100 Subject: [PATCH] Correction d'une faute de frappe --- api-rest/gateways/userGateway.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-rest/gateways/userGateway.php b/api-rest/gateways/userGateway.php index a65f780..30d4fd6 100644 --- a/api-rest/gateways/userGateway.php +++ b/api-rest/gateways/userGateway.php @@ -115,7 +115,7 @@ class UserGateway{ $this->connection->execQuery($userQuery,$argUsernamePassword); $res=$this->connection->getRes(); foreach($res as $row){ - if(!password_verify($password,$row["USR_USERNAME"])){ + if(!password_verify($password,$row["USR_PASSWORD"])){ return null; } }