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 5142083 commit fd42a67Copy full SHA for fd42a67
app/code/Magento/Customer/view/frontend/web/js/customer-data.js
@@ -53,11 +53,7 @@ define([
53
storage.removeAll();
54
}
55
56
- if (!$.localStorage.isSet('mage-customer-login')) {
57
- $.localStorage.set('mage-customer-login', isLoggedIn);
58
- }
59
- if ($.localStorage.get('mage-customer-login') !== isLoggedIn) {
60
+ if (isLoggedIn === 0) {
61
62
63
0 commit comments