-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Issue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passed
Description
Preconditions (*)
- installed php version 7.1.21
- magento 2.2.6
Steps to reproduce
- Sign in with any customer, to have a row in table
customer_visitor
- Sign out
- Fill in the forget password form
- Open link from the received email for password recovery
- After submitting new password form, we're getting next error:
Warning: SessionHandler::destroy(): Parent session handler is not open in .{ROOT}/vendor/magento/framework/Session/SaveHandler.php on line 123
Expected result (*)
- To have chance to change the password
Actual result (*)
-
The problem is with Session
In the
Magento\Customer\Model\AccountManagement::resetPassword()
in first step called$this->sessionManager->destroy();
where session is beingsession_destroy()
(seeMagento\Framework\Session\SessionManager::destroy()
)
And before second step$this->destroyCustomerSessions($customer->getId());
no one is$this->sessionManager->start();
anymore
Metadata
Metadata
Assignees
Labels
Issue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passed