summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--logout.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/logout.php b/logout.php
index ae2f65508..c43d86cb0 100644
--- a/logout.php
+++ b/logout.php
@@ -3,9 +3,10 @@
$_SESSION["uid"] = null;
$_SESSION["name"] = null;
-
+ $_SESSION["access_level"] = null;
+
session_destroy();
- header("Location: tt-rss.php");
+ header("Location: login.php");
?>