z
This commit is contained in:
parent
bf41b96738
commit
4c423362b8
|
|
@ -531,6 +531,17 @@ require_once 'Controleur/ControleurMoritio.php';
|
||||||
$changerMotPassDefaut = ( ($_SESSION['changerMotPassDefaut']=="1") && ($this->utilisateur->verifiermotpassdefaut($codeSociete, $mdp)) );
|
$changerMotPassDefaut = ( ($_SESSION['changerMotPassDefaut']=="1") && ($this->utilisateur->verifiermotpassdefaut($codeSociete, $mdp)) );
|
||||||
$motCourt = ( ($_SESSION['verifierLongueurPass']=="1") && (strlen($mdp)<6) );
|
$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))
|
if(($motCourt===true) or ($changerMotPassDefaut===true))
|
||||||
{
|
{
|
||||||
$this->rediriger("Changermotpass");
|
$this->rediriger("Changermotpass");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user