Exemplo n.º 1
0
 function modifierMdp($login, $mdp)
 {
     if (isset($login) && isset($mdp)) {
         $res = \model\mysql\Utilisateur::modifierMotDePasse($login, $mdp);
         $this->set("modifiermdp", $res);
         $this->render("index");
         return $res;
     } else {
         header("Location: " . BASE_URL);
         exit;
     }
 }