<?php
/* Smarty version 5.4.2, created on 2024-12-19 17:52:30
  from 'file:/Users/razib/Herd/suite/ui/theme/default/../../../apps/twofactor/views/init.tpl' */

/* @var \Smarty\Template $_smarty_tpl */
if ($_smarty_tpl->getCompiled()->isFresh($_smarty_tpl, array (
  'version' => '5.4.2',
  'unifunc' => 'content_6764a3ae4dfd37_22807321',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'eb69061dd3f7c1a1844e1778117577aa5ef4e5c3' => 
    array (
      0 => '/Users/razib/Herd/suite/ui/theme/default/../../../apps/twofactor/views/init.tpl',
      1 => 1730635716,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
))) {
function content_6764a3ae4dfd37_22807321 (\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = '/Users/razib/Herd/suite/apps/twofactor/views';
$_smarty_tpl->getInheritance()->init($_smarty_tpl, false);
$_smarty_tpl->getInheritance()->instanceBlock($_smarty_tpl, 'Block_12696973196764a3ae4c2e97_11656477', "content");
?>

<?php }
/* {block "content"} */
class Block_12696973196764a3ae4c2e97_11656477 extends \Smarty\Runtime\Block
{
public function callBlock(\Smarty\Template $_smarty_tpl) {
$_smarty_current_dir = '/Users/razib/Herd/suite/apps/twofactor/views';
?>


    <div class="row">
        <div class="col-md-6">

            <div class="card">

                <div class="card-body">


                    <?php if ($_smarty_tpl->getValue('user')->otp == 'Yes') {?>
                        <h2><?php ob_start();
echo $_smarty_tpl->getSmarty()->getModifierCallback('__')('Two-Factor Authentication is Enabled.');
$_prefixVariable1 = ob_get_clean();
echo $_prefixVariable1;?>
</h2>
                        <a href="<?php echo $_smarty_tpl->getValue('_url');?>
twofactor/setup/disable/" class="btn btn-danger"><?php ob_start();
echo $_smarty_tpl->getSmarty()->getModifierCallback('__')('Click Here to Disable');
$_prefixVariable2 = ob_get_clean();
echo $_prefixVariable2;?>
</a>

                    <?php } else { ?>
                        <h2><?php ob_start();
echo $_smarty_tpl->getSmarty()->getModifierCallback('__')('Two-Factor Authentication');
$_prefixVariable3 = ob_get_clean();
echo $_prefixVariable3;?>
</h2>
                        <div class="alert alert-warning">
                            <?php ob_start();
echo $_smarty_tpl->getSmarty()->getModifierCallback('__')('We strongly encourage you to enable Two-Factor Authentication for added security.');
$_prefixVariable4 = ob_get_clean();
echo $_prefixVariable4;?>

                        </div>
                        <p>
                            <?php ob_start();
echo $_smarty_tpl->getSmarty()->getModifierCallback('__')('Two-Step Verification adds an extra layer of security to your account. After you log in with your username and password, you enter an extra security code before proceeding to your account.');
$_prefixVariable5 = ob_get_clean();
echo $_prefixVariable5;?>

                        </p>
                        <p>
                            <?php ob_start();
echo $_smarty_tpl->getSmarty()->getModifierCallback('__')('The security code is automatically generated by the Google Authenticator smartphone app, and is only valid for 30 seconds before a new code is generated.');
$_prefixVariable6 = ob_get_clean();
echo $_prefixVariable6;?>

                        </p>

                        <p>
                            <?php ob_start();
echo $_smarty_tpl->getSmarty()->getModifierCallback('__')('What it boils down to is that no one can access your account unless they have your username, your password, and access to your phone.');
$_prefixVariable7 = ob_get_clean();
echo $_prefixVariable7;?>

                        </p>
                        <hr>
                        <a href="<?php echo $_smarty_tpl->getValue('_url');?>
twofactor/setup/enable/" class="btn btn-primary"><?php ob_start();
echo $_smarty_tpl->getSmarty()->getModifierCallback('__')('Click Here to Enable');
$_prefixVariable8 = ob_get_clean();
echo $_prefixVariable8;?>
</a>
                    <?php }?>


                </div>

            </div>

        </div>
    </div>

<?php
}
}
/* {/block "content"} */
}
