Skip to content

Commit fab9a1a

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

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
@@ -22,7 +22,7 @@ define([
2222
process: function (customerData) {
2323
var customer = customerData.get('customer');
2424

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

0 commit comments

Comments
 (0)