Browse Source

Suppression variables post après connexion

feature/ldap
Chocobozzz 11 years ago
parent
commit
766e9b20bc
  1. 4
      index.php

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

Loading…
Cancel
Save