Explorar el Código

[Frontend] Cookies : adaptations

feature/export_comptable
Guillaume hace 4 años
padre
commit
6b550f9b16
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. +1
    -3
      ShopBundle/Services/UserUtils.php

+ 1
- 3
ShopBundle/Services/UserUtils.php Ver fichero

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

Cargando…
Cancelar
Guardar