Commit 8fbd28e4 authored by José Luis  Gutiérrez's avatar José Luis Gutiérrez Committed by Alessandro Rubini

www: logout.php must now destroy the complety User Session

Because of using data structures to load and display configuration, at
the end of each session all web interface user data must be destroyed.
parent a76d6436
......@@ -25,6 +25,7 @@
unset($_SESSION["myusername"]);
unset($_SESSION["mypassword"]);
session_destroy();
echo '<br><br><center><h3>Logged out</h3></center>';
header('Location: index.php');
?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment