diff --git a/index.php b/index.php index b32b3f9..8646cee 100644 --- a/index.php +++ b/index.php @@ -15,6 +15,7 @@ if($data = $req->fetch()){ $_SESSION['admin_id'] = $data['admin_id']; + unset($_POST['id'], $_POST['pass']); $connexion = true; } else{ @@ -98,8 +99,5 @@ - - -