We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c5246a commit 2aaa969Copy full SHA for 2aaa969
app/code/Magento/Customer/view/frontend/web/js/customer-data.js
@@ -215,10 +215,9 @@ define([
215
$.cookieStorage.set('section_data_clean', '');
216
}
217
218
- var cookieExpires = new Date(Date.now() + parseInt(options.cookieLifeTime, 10) * 1000);
219
$.cookieStorage.setConf({
220
path: '/',
221
- expires: cookieExpires
+ expires: new Date(Date.now() + parseInt(options.cookieLifeTime, 10) * 1000)
222
});
223
},
224
0 commit comments