diff --git a/session_verif.php b/session_verif.php index 65afe9b..194444c 100644 --- a/session_verif.php +++ b/session_verif.php @@ -8,6 +8,9 @@ if(isset($_SESSION["utilisateur_authentifie"])){ session_abort(); echo(json_encode(array("status"=> "3","msg"=>"Session expirée, veuillez vous reconnecter."))); } +}else{ + echo(json_encode(array("status"=> "0","msg"=> "Utilisateur non connecté."))); + exit; } ?> \ No newline at end of file diff --git a/validation.php b/validation.php index 6a11bbb..f685db2 100644 --- a/validation.php +++ b/validation.php @@ -1,4 +1,11 @@