Sfoglia il codice sorgente

[Frontend] Cookies : adaptations

feature/export_comptable
Guillaume 4 anni fa
parent
commit
6b550f9b16
1 ha cambiato i file con 1 aggiunte e 3 eliminazioni
  1. +1
    -3
      ShopBundle/Services/UserUtils.php

+ 1
- 3
ShopBundle/Services/UserUtils.php Vedi File

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

Loading…
Annulla
Salva