twofactorsetupchallenge.php 634 B

1234567891011121314151617181920
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. /** @var \OCP\IL10N $l */
  7. /** @var array $_ */
  8. /** @var \OCP\Authentication\TwoFactorAuth\IProvider $provider */
  9. $provider = $_['provider'];
  10. /* @var string $template */
  11. $template = $_['template'];
  12. ?>
  13. <div class="body-login-container update">
  14. <h2 class="two-factor-header"><?php p($provider->getDisplayName()); ?></h2>
  15. <?php print_unescaped($template); ?>
  16. <p><a class="two-factor-secondary" href="<?php print_unescaped($_['logout_url']); ?>">
  17. <?php p($l->t('Cancel login')) ?>
  18. </a></p>
  19. </div>