瀏覽代碼

[Frontend] Cookies : adaptations

feature/export_comptable
Guillaume 4 年之前
父節點
當前提交
6b550f9b16
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. +1
    -3
      ShopBundle/Services/UserUtils.php

+ 1
- 3
ShopBundle/Services/UserUtils.php 查看文件

@@ -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…
取消
儲存