Skip to content
Snippets Groups Projects
Commit 1e866646 authored by andi's avatar andi
Browse files

small fix for separate cookie patch

darcs-hash:20050626184105-9977f-34d4928d5c8dab19b2cc799ff3b43637303995e8.gz
parent e65afed4
No related branches found
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@
// load the the auth functions
require_once(DOKU_INC.'inc/auth/'.$conf['authtype'].'.php');
if (!defined('DOKU_COOKIE')) define('DOKU_COOKIE', md5($_SERVER['PHP_SELF']));
if (!defined('DOKU_COOKIE')) define('DOKU_COOKIE', 'DW'.md5($conf['title']));
// some ACL level defines
define('AUTH_NONE',0);
......@@ -183,7 +183,7 @@ function auth_logoff(){
unset($_SESSION[$conf['title']]['auth']['info']);
unset($_SERVER['REMOTE_USER']);
$USERINFO=null; //FIXME
setcookie(DOKU_COOKIE,'',time()-3600,'/');
setcookie(DOKU_COOKIE,'',time()-600000,'/');
}
/**
......
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