diff --git a/config/Validation.php b/config/Validation.php index 5c0786e..4ee277a 100644 --- a/config/Validation.php +++ b/config/Validation.php @@ -13,7 +13,7 @@ } static function clear_string($champ){ - // Wesh + // A changer filter_var } } diff --git a/controleurs/ControleurVisiteur.php b/controleurs/ControleurVisiteur.php index 461703d..dc2c06b 100644 --- a/controleurs/ControleurVisiteur.php +++ b/controleurs/ControleurVisiteur.php @@ -59,11 +59,9 @@ class VisitorController { $model = new UserModel(); $worked=$model->connexion(); - /* + /* Utiliser si jamais connexion n'a pas marché et qu'on veut remettre le login dans la page pour que le visiteur n'ait pas à le retaper $dVue = array ( 'username' => $usrname, - 'password' => $pwd, - 'worked' => $worked, ); */ if($worked==false){