Skip to content

Commit 23e35ce

Browse files
author
Spandana Chittimala
committed
Merge branch 'MC-19053' of https://github.com/magento-mpi/magento2ce into PR-16-08-2019
2 parents d71a4e8 + af16149 commit 23e35ce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/Persistent/Observer/CheckExpirePersistentQuoteObserver.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ public function execute(\Magento\Framework\Event\Observer $observer)
120120
$this->_eventManager->dispatch('persistent_session_expired');
121121
$this->quoteManager->expire();
122122
$this->_checkoutSession->clearQuote();
123+
$this->_customerSession->setCustomerId(null)->setCustomerGroupId(null);
123124
return;
124125
}
125126

0 commit comments

Comments
 (0)