@@ -49,9 +49,7 @@ class UserUtils | |||
public function setCookieVisitor($response, $cookie) | |||
{ | |||
if($this->cookieChecker->isCategoryAllowedByUser('site')) { | |||
$response->headers->setCookie(Cookie::create($this->getCookieNameVisitor(), $this->cryptCookie($cookie), 0, '/', $this->utils->getCookieDomain())); | |||
} | |||
$response->headers->setCookie(Cookie::create($this->getCookieNameVisitor(), $this->cryptCookie($cookie), 0, '/', $this->utils->getCookieDomain())); | |||
} | |||
public function getVisitor($cookie) |