From: friendica Date: Wed, 23 May 2012 01:05:58 +0000 (-0700) Subject: clear submanage, etc from session on logout X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b43b680802ed466702cbcd639a62bb09951edfdc;p=friendica.git clear submanage, etc from session on logout --- 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']); }