. */ namespace SP\Modules\Web\Controllers\UserPassReset; use SP\Modules\Web\Controllers\ControllerBase; use SP\Modules\Web\Util\ErrorUtil; /** * Class IndexController * * @package SP\Modules\Web\Controllers */ final class IndexController extends ControllerBase { public function indexAction(): void { $this->layoutHelper->getCustomLayout('request', strtolower($this->routeContextData->getActionName())); if (!$this->configData->isMailEnabled()) { ErrorUtil::showErrorInView($this->view, self::ERR_UNAVAILABLE, true, 'request'); } $this->view(); } }