20 if ($this->sessionHelper->isPersistent()) {
24 $resultRedirect = $this->resultFactory->create(ResultFactory::TYPE_REDIRECT);
25 $resultRedirect->setPath(
'customer/account/login');
26 return $resultRedirect;
36 $this->_eventManager->dispatch(
'persistent_session_expired');
37 $this->customerSession->setCustomerId(
null)->setCustomerGroupId(
null);
38 if ($this->clearCheckoutSession) {
39 $this->checkoutSession->clearStorage();
41 $this->sessionHelper->getSession()->removePersistentCookie();