Lilian BRETON 2 years ago
parent 863ed03250
commit 5087dc0633

@ -2,9 +2,9 @@
$rep = __DIR__ . '/../'; $rep = __DIR__ . '/../';
$login="root"; $login="thchazot1";
$password="root"; $password="achanger";
$dsn="mysql:host=localhost;port=8888;dbname=bddDeQualite"; // chemin vers bd (mysql:host=londres.uca.local;dbname=dblibreton => pour l'iut) $dsn="mysql:host=localhost;dbname=dbthchazot1"; // chemin vers bd (mysql:host=londres.uca.local;dbname=dblibreton => pour l'iut)
//$dsn="mysql:host=localhost;port=8888;dbname=bddDeQualite"; //$dsn="mysql:host=localhost;port=8888;dbname=bddDeQualite";
/* /*
$login="thchazot1"; $login="thchazot1";

@ -56,7 +56,7 @@ class MdlUser{
$gate=new UserGateway($this->con); $gate=new UserGateway($this->con);
return $gate->getHashedPassword($usr); return $gate->getHashedPassword($usr);
} }
public function findByName(string $usr){ public function findByName(string $usr){
$gate=new UserGateway($this->con); $gate=new UserGateway($this->con);
$result=$gate->findByName($usr); $result=$gate->findByName($usr);

Loading…
Cancel
Save