challenge.php 743 B

1234567891011121314151617181920
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-License-Identifier: AGPL-3.0-or-later
  6. */
  7. style('twofactor_backupcodes', 'style');
  8. ?>
  9. <img class="two-factor-icon" src="<?php p(image_path('core', 'actions/more-white.svg')) ?>" alt="" />
  10. <p><?php p($l->t('Use one of the backup codes you saved when setting up two-factor authentication.')) ?></p>
  11. <form method="POST" class="challenge-form">
  12. <input type="text" class="challenge" name="challenge" required="required" autofocus autocomplete="off" autocapitalize="off" placeholder="<?php p($l->t('Backup code')) ?>">
  13. <button class="two-factor-submit primary" type="submit">
  14. <?php p($l->t('Submit')); ?>
  15. </button>
  16. </form>