Skip to content

Commit 76bd7e6

Browse files
author
Oleksandr Osadchyi
committed
MAGETWO-59135: [Github] Customer session is shared for different customers on two websites #4842 #6468
1 parent 12cb8d7 commit 76bd7e6

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Customer/view/frontend/web/js/invalidation-rules

1 file changed

+1
-1
lines changed

app/code/Magento/Customer/view/frontend/web/js/invalidation-rules/website-rule.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ define([
2323
var customer = customerData.get('customer');
2424

2525
if (this.scopeConfig && customer() &&
26-
(~~customer().websiteId !== ~~this.scopeConfig.websiteId) && ~~customer().websiteId !== 0) {
26+
~~customer().websiteId !== ~~this.scopeConfig.websiteId && ~~customer().websiteId !== 0) {
2727
customerData.reload(['customer']);
2828
}
2929
}

0 commit comments

Comments
 (0)