Skip to content

Commit b13d3b4

Browse files
author
Sergey Shvets
committed
MAGETWO-93790: Cookie section_data_ids isn't filled properly after restarting browser application
1 parent fe11b39 commit b13d3b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Customer/view/frontend/web/js/customer-data.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ define([
2727

2828
//TODO: remove global change, in this case made for initNamespaceStorage
2929
$.cookieStorage.setConf({
30-
path: '/'
30+
path: '/',
31+
expires: 1
3132
});
3233

3334
storage = $.initNamespaceStorage('mage-cache-storage').localStorage;

0 commit comments

Comments
 (0)