summaryrefslogtreecommitdiff
path: root/inc/auth.php
diff options
context:
space:
mode:
authorGuy Brand <gb@isis.u-strasbg.fr>2008-10-11 18:14:58 +0200
committerGuy Brand <gb@isis.u-strasbg.fr>2008-10-11 18:14:58 +0200
commite16eccb70475e6d275f573424aa0f0d9cb757d04 (patch)
tree9dd971904bb257952fedf8e7991a06d1e5092fd1 /inc/auth.php
parent2f48496695a50adc68743bfbf1ac715e7b18711a (diff)
downloadrpg-e16eccb70475e6d275f573424aa0f0d9cb757d04.tar.gz
rpg-e16eccb70475e6d275f573424aa0f0d9cb757d04.tar.bz2
Empty breadcrumbs on logout (see FS#979)
darcs-hash:20081011161458-19e2d-97001154886654be84d70b1b140743b124a1c763.gz
Diffstat (limited to 'inc/auth.php')
-rw-r--r--inc/auth.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/auth.php b/inc/auth.php
index 19c7fb174..6c9ac9817 100644
--- a/inc/auth.php
+++ b/inc/auth.php
@@ -290,6 +290,8 @@ function auth_logoff(){
unset($_SESSION[DOKU_COOKIE]['auth']['pass']);
if(isset($_SESSION[DOKU_COOKIE]['auth']['info']))
unset($_SESSION[DOKU_COOKIE]['auth']['info']);
+ if(isset($_SESSION[DOKU_COOKIE]['bc']))
+ unset($_SESSION[DOKU_COOKIE]['bc']);
if(isset($_SERVER['REMOTE_USER']))
unset($_SERVER['REMOTE_USER']);
$USERINFO=null; //FIXME