From 62c55d98a2cf6f717c371f0d917e5f4dd56a4660 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Mon, 19 Jan 2026 09:44:18 +0000 Subject: [PATCH] a --- Controleur/ControleurConnexion.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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");