Suppression variables post après connexion

This commit is contained in:
Chocobozzz 2014-03-15 17:53:38 +01:00
parent 1f57798451
commit 766e9b20bc

View File

@ -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 @@
<?php
}
?>
</body>
</html>