FIX : if multicompany enabled, call to undifend method _setCookie
instead of setCookie
This commit is contained in:
parent
c0412acdea
commit
d78292b9af
@ -660,7 +660,7 @@ if (! defined('NOLOGIN'))
|
||||
$cryptkey = (! empty($conf->file->cookie_cryptkey) ? $conf->file->cookie_cryptkey : '' );
|
||||
|
||||
$entityCookie = new DolCookie($cryptkey);
|
||||
$entityCookie->_setCookie($entityCookieName, $entity, $ttl);
|
||||
$entityCookie->setCookie($entityCookieName, $entity, $ttl);
|
||||
}
|
||||
|
||||
// Hooks on successfull login
|
||||
|
||||
Loading…
Reference in New Issue
Block a user