diff options
-rw-r--r-- | inc/actions.php | 2 | ||||
-rw-r--r-- | inc/auth.php | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/inc/actions.php b/inc/actions.php index 41e81e267..af2399983 100644 --- a/inc/actions.php +++ b/inc/actions.php @@ -383,7 +383,7 @@ function act_auth($act){ // rebuild info array $INFO = pageinfo(); - return 'login'; + act_redirect($ID,'login'); } return $act; 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 |