Pārlūkot izejas kodu

[Frontend] Cookies : adaptations

feature/export_comptable
Guillaume pirms 4 gadiem
vecāks
revīzija
6b550f9b16
1 mainītis faili ar 1 papildinājumiem un 3 dzēšanām
  1. +1
    -3
      ShopBundle/Services/UserUtils.php

+ 1
- 3
ShopBundle/Services/UserUtils.php Parādīt failu

@@ -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)

Notiek ielāde…
Atcelt
Saglabāt