Server IP : 213.176.29.180 / Your IP : 3.141.45.137 Web Server : Apache System : Linux 213.176.29.180.hostiran.name 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64 User : webtaragh ( 1001) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/webtaragh/public_html/whmcs/lang/../templates/twenty-one/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<div class="card mw-540 mb-md-4 mt-md-4"> <div class="card-body px-sm-5 py-5"> <h3 class="card-title">{lang key='twofactorauth'}</h3> {include file="$template/includes/flashmessage.tpl" align="center"} {if $newbackupcode} {include file="$template/includes/alert.tpl" type="success" msg="{lang key='twofabackupcodereset'}" textcenter=true} {elseif $incorrect} {include file="$template/includes/alert.tpl" type="error" msg="{lang key='twofa2ndfactorincorrect'}" textcenter=true} {elseif $error} {include file="$template/includes/alert.tpl" type="error" msg=$error textcenter=true} {else} {include file="$template/includes/alert.tpl" type="warning" msg="{lang key='twofa2ndfactorreq'}" textcenter=true} {/if} <form method="post" action="{routePath('login-two-factor-challenge-verify')}" id="frmTwoFactorChallenge"{if $usingBackup} class="w-hidden"{/if}> <div class="margin-bottom"> {$challenge} </div> </form> <form method="post" action="{routePath('login-two-factor-challenge-backup-verify')}" id="frmTwoFactorBackup"{if !$usingBackup} class="w-hidden"{/if}> <div class="margin-bottom"> <input type="text" name="twofabackupcode" class="form-control form-control-lg" placeholder="{lang key='twofabackupcodelogin'}"> <br/> <button type="submit" class="btn btn-primary btn-lg btn-block" id="btnLogin"> {lang key='loginbutton'} </button> </div> <p class="text-center"> <a href="#" class="btn btn-default btn-block mt-2" id="backupCodeCancel"> {lang key='cancel'} </a> </p> </form> </div> <div class="card-footer px-md-5" id="frmTwoFactorChallengeFooter"> <small> {lang key='twofacantaccess2ndfactor'} <a href="#" id="loginWithBackupCode"> {lang key='twofaloginusingbackupcode'} </a> </small> </div> </div> <script> jQuery(document).ready(function() { jQuery('#loginWithBackupCode').click(function(e) { e.preventDefault(); jQuery('#frmTwoFactorChallenge').hide(); jQuery('#frmTwoFactorChallengeFooter').hide(); jQuery('#frmTwoFactorBackup').show(); }); jQuery('#backupCodeCancel').click(function(e) { e.preventDefault(); jQuery('#frmTwoFactorChallenge').show(); jQuery('#frmTwoFactorChallengeFooter').show(); jQuery('#frmTwoFactorBackup').hide(); }); }); </script>