Вы можете перейти на страницу: /vendor/magento/module-customer/Controller/Account/CreatePassword.php
Изменить функцию execute (), как показано ниже:
public function execute()
{
$resetPasswordToken = (string)$this->getRequest()->getParam('token');
$customerId = (int)$this->getRequest()->getParam('id');
$resultPage = $this->resultPageFactory->create();
$resultPage->getLayout()->getBlock('resetPassword')->setCustomerId($customerId)
->setResetPasswordLinkToken($resetPasswordToken);
return $resultPage;
}
ТеперьОткройте страницу прямо в браузере, добавив существующий идентификатор клиента, как показано ниже:
<website_name>/customer/account/createPassword/?id=<customer_id>&token=8ebf7486db44b57de5cafc308c6802b4