Closed fsspencer closed 2 years ago
This PR fixes the issue https://github.com/bitExpert/magento2-force-login/issues/184 reported by multiple users where a customer is being redirected to customer/section/load when this controller is being called right after logging in.
This fix prevents the LoginCheck controller to use those async controllers as referrers, otherwise, the customer will be redirected to a blank page with JSON content.
This PR fixes the issue https://github.com/bitExpert/magento2-force-login/issues/184 reported by multiple users where a customer is being redirected to customer/section/load when this controller is being called right after logging in.
This fix prevents the LoginCheck controller to use those async controllers as referrers, otherwise, the customer will be redirected to a blank page with JSON content.