Skip to content

Commit da92345

Browse files
committed
MC-21788: Banner does not invalidate content when switching store view
1 parent 2e3073d commit da92345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Store/Model/StoreCookieManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function getStoreCodeFromCookie()
5454
public function setStoreCookie(StoreInterface $store)
5555
{
5656
$cookieMetadata = $this->cookieMetadataFactory->createPublicCookieMetadata()
57-
->setHttpOnly(true)
57+
->setHttpOnly(false)
5858
->setDurationOneYear()
5959
->setPath($store->getStorePath());
6060

0 commit comments

Comments
 (0)