/** * doActionConfirm * * @return void */ protected function doActionConfirm() { if ($this->get('email') && \XLite\Core\Request::getInstance()->request_id && $this->doPasswordRecovery($this->get('email'), \XLite\Core\Request::getInstance()->request_id)) { \XLite\Core\TopMessage::addInfo('Please create a new password'); $this->setReturnURL($this->buildURL()); \XLite\Core\Event::recoverPasswordDone(array('email' => $this->get('email'))); } }