Exemplo n.º 1
0
 /**
  * Forgot customer password page
  *
  * @return \Magento\Framework\View\Result\Page
  */
 public function execute()
 {
     /** @var \Magento\Framework\View\Result\Page $resultPage */
     $resultPage = $this->resultPageFactory->create();
     $resultPage->getLayout()->getBlock('forgotPassword')->setEmailValue($this->session->getForgottenEmail());
     $this->session->unsForgottenEmail();
     return $resultPage;
 }