challenge.php 616 B

1234567891011121314151617
  1. <?php
  2. declare(strict_types=1);
  3. style('twofactor_backupcodes', 'style');
  4. ?>
  5. <img class="two-factor-icon" src="<?php p(image_path('core', 'actions/more-white.svg')) ?>" alt="" />
  6. <p><?php p($l->t('Use one of the backup codes you saved when setting up two-factor authentication.')) ?></p>
  7. <form method="POST" class="challenge-form">
  8. <input type="text" class="challenge" name="challenge" required="required" autofocus autocomplete="off" autocapitalize="off" placeholder="<?php p($l->t('Backup code')) ?>">
  9. <button class="two-factor-submit primary" type="submit">
  10. <?php p($l->t('Submit')); ?>
  11. </button>
  12. </form>