Suppression variables post après connexion
This commit is contained in:
parent
1f57798451
commit
766e9b20bc
@ -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…
Reference in New Issue
Block a user