mirror of
https://github.com/friendica/friendica
synced 2024-11-10 07:02:54 +00:00
clear submanage, etc from session on logout
This commit is contained in:
parent
e70573f34c
commit
b43b680802
1 changed files with 7 additions and 0 deletions
|
@ -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']);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue