Skip to content

Commit 936dd10

Browse files
ACPT-1327
adding more state to _resetState in Magento/Customer/Model/Session and Magento/Framework/Session/SessionManager
1 parent fbf4a34 commit 936dd10

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/code/Magento/Customer/Model/Session.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,8 @@ public function getCustomerGroupId()
399399
public function _resetState(): void
400400
{
401401
$this->_customer = null;
402-
parent::_resetState(); // TODO: Change the autogenerated stub
402+
$this->_isCustomerIdChecked = null;
403+
parent::_resetState();
403404
}
404405

405406
/**

lib/internal/Magento/Framework/Session/SessionManager.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -639,5 +639,6 @@ private function initIniOptions()
639639
public function _resetState(): void
640640
{
641641
session_write_close();
642+
$this->urlHostCache = [];
642643
}
643644
}

0 commit comments

Comments
 (0)