* @license GNU General Public License version 2 or later; see LICENSE.txt */ use Joomla\CMS\Factory; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; use Joomla\Component\Users\Site\Model\CaptiveModel; use Joomla\Component\Users\Site\View\Captive\HtmlView; use Joomla\Utilities\ArrayHelper; /** * @var HtmlView $this View object * @var CaptiveModel $model The model */ $model = $this->getModel(); if ($this->renderOptions['field_type'] !== 'custom') { $this->document->getWebAssetManager() ->useScript('com_users.two-factor-focus'); } ?>