]> git.mxchange.org Git - friendica.git/commitdiff
clear submanage, etc from session on logout
authorfriendica <info@friendica.com>
Wed, 23 May 2012 01:05:58 +0000 (18:05 -0700)
committerfriendica <info@friendica.com>
Wed, 23 May 2012 01:05:58 +0000 (18:05 -0700)
include/auth.php

index 1341f3bb8a7af7a26069ce7cabfc942f01f90195..b87662fea29f55944d5744768ba09d87705ca070 100644 (file)
@@ -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']);
 }