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()){ if($data = $req->fetch()){
$_SESSION['admin_id'] = $data['admin_id']; $_SESSION['admin_id'] = $data['admin_id'];
unset($_POST['id'], $_POST['pass']);
$connexion = true; $connexion = true;
} }
else{ else{
@ -98,8 +99,5 @@
<?php <?php
} }
?> ?>
</body> </body>
</html> </html>

Loading…
Cancel
Save