Log in
Model

RedirectDataPostprocessor

Magento\Customer\Model\StoreSwitcher\RedirectDataPostprocessor

What it does

This class handles customer session restoration when a logged-in customer switches between different store views in a multi-store Magento setup.

It receives customer data from the origin store and automatically logs the customer into the target store if they're not already logged in and the customer account is shared across those stores.

Public Methods

  • process()