twofactorselectchallenge.php 823 B

12345678910111213141516171819202122
  1. <div class="warning">
  2. <h2 class="two-factor-header"><?php p($l->t('Two-factor authentication')) ?></h2>
  3. <p><?php p($l->t('Enhanced security is enabled for your account. Please authenticate using a second factor.')) ?></p>
  4. <p>
  5. <ul>
  6. <?php foreach ($_['providers'] as $provider): ?>
  7. <li>
  8. <a class="button two-factor-provider"
  9. href="<?php p(\OC::$server->getURLGenerator()->linkToRoute('core.TwoFactorChallenge.showChallenge',
  10. [
  11. 'challengeProviderId' => $provider->getId(),
  12. 'redirect_url' => $_['redirect_url'],
  13. ]
  14. )) ?>">
  15. <?php p($provider->getDescription()) ?>
  16. </a>
  17. </li>
  18. <?php endforeach; ?>
  19. </ul>
  20. </p>
  21. </div>
  22. <a class="two-factor-cancel" <?php print_unescaped($_['logout_attribute']); ?>><?php p($l->t('Cancel log in')) ?></a>