Skip to content
Snippets Groups Projects
Commit e16eccb7 authored by Guy Brand's avatar Guy Brand
Browse files

Empty breadcrumbs on logout (see FS#979)

darcs-hash:20081011161458-19e2d-97001154886654be84d70b1b140743b124a1c763.gz
parent 2f484966
No related branches found
No related tags found
No related merge requests found
......@@ -383,7 +383,7 @@ function act_auth($act){
// rebuild info array
$INFO = pageinfo();
return 'login';
act_redirect($ID,'login');
}
return $act;
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment