From 766e9b20bc181e7ab00ffa7fb91500e0b0f21e50 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Sat, 15 Mar 2014 17:53:38 +0100 Subject: [PATCH] =?UTF-8?q?Suppression=20variables=20post=20apr=C3=A8s=20c?= =?UTF-8?q?onnexion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 @@ - - -