This commit is contained in:
KANE LAZENI 2026-01-19 09:38:56 +00:00
parent bf41b96738
commit 4c423362b8

View File

@ -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");