diff --git a/Controleur/ControleurConnexion.php b/Controleur/ControleurConnexion.php index e114bbc..164dac4 100644 --- a/Controleur/ControleurConnexion.php +++ b/Controleur/ControleurConnexion.php @@ -531,6 +531,17 @@ require_once 'Controleur/ControleurMoritio.php'; $changerMotPassDefaut = ( ($_SESSION['changerMotPassDefaut']=="1") && ($this->utilisateur->verifiermotpassdefaut($codeSociete, $mdp)) ); $motCourt = ( ($_SESSION['verifierLongueurPass']=="1") && (strlen($mdp)<6) ); + var_dump + ( + array( + "changerMotPassDefaut" => $changerMotPassDefaut, + "verifierLongueurPass" => $_SESSION['verifierLongueurPass'], + "mdp" => $mdp, + "long" => strlen($mdp), + ) + ); + exit(); + if(($motCourt===true) or ($changerMotPassDefaut===true)) { $this->rediriger("Changermotpass");