Skip to content

Commit 0cef2c8

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

File tree

1 file changed

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

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ define([
1313
scopeConfig: {}
1414
},
1515

16+
initialize: function () {
17+
this._super();
18+
},
1619
/**
1720
* Takes website id from current customer data and compare it with current website id
1821
* If customer belongs to another scope, we need to invalidate current section

0 commit comments

Comments
 (0)