Add: entity cookie just used for the login page
This commit is contained in:
parent
6f163a94a8
commit
23ce17b308
@ -453,7 +453,7 @@ if (! isset($_SESSION["dol_login"]))
|
||||
$cryptkey = (! empty($conf->global->MAIN_MULTICOMPANY_COOKIE_CRYPTKEY) ? $conf->global->MAIN_MULTICOMPANY_COOKIE_CRYPTKEY : '' );
|
||||
|
||||
$entityCookie = new DolCookie($cryptkey);
|
||||
$entityCookie->_setCookie($entityCookieName, $entity);
|
||||
$entityCookie->_setCookie($entityCookieName, $entity, $ttl);
|
||||
}
|
||||
|
||||
// Module webcalendar
|
||||
|
||||
Loading…
Reference in New Issue
Block a user