diff --git a/Controleur/ControleurConnexion.php b/Controleur/ControleurConnexion.php index 164dac4..b87d6ed 100644 --- a/Controleur/ControleurConnexion.php +++ b/Controleur/ControleurConnexion.php @@ -531,17 +531,19 @@ 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, + "changerMotPassDefaut" => $_SESSION['changerMotPassDefaut'], "verifierLongueurPass" => $_SESSION['verifierLongueurPass'], "mdp" => $mdp, "long" => strlen($mdp), ) ); exit(); - + */ + if(($motCourt===true) or ($changerMotPassDefaut===true)) { $this->rediriger("Changermotpass");