From b43b680802ed466702cbcd639a62bb09951edfdc Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 22 May 2012 18:05:58 -0700 Subject: [PATCH] clear submanage, etc from session on logout --- include/auth.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/auth.php b/include/auth.php index 1341f3bb8a..b87662fea2 100644 --- a/include/auth.php +++ b/include/auth.php @@ -11,6 +11,13 @@ function nuke_session() { unset($_SESSION['cid']); unset($_SESSION['theme']); unset($_SESSION['page_flags']); + unset($_SESSION['submanage']); + unset($_SESSION['my_url']); + unset($_SESSION['my_address']); + unset($_SESSION['addr']); + unset($_SESSION['return_url']); + unset($_SESSION['theme']); + unset($_SESSION['page_flags']); }