%PDF- %PDF-
Direktori : /proc/self/root/www/varak.net/nextcloud.varak.net/core/templates/ |
Current File : //proc/self/root/www/varak.net/nextcloud.varak.net/core/templates/twofactorsetupselection.php |
<?php declare(strict_types=1); /** * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ ?> <div class="body-login-container update"> <h2 class="two-factor-header"><?php p($l->t('Set up two-factor authentication')) ?></h2> <?php p($l->t('Enhanced security is enforced for your account. Choose which provider to set up:')) ?> <ul> <?php foreach ($_['providers'] as $provider): ?> <li> <a class="two-factor-provider" href="<?php p(\OC::$server->getURLGenerator()->linkToRoute('core.TwoFactorChallenge.setupProvider', [ 'providerId' => $provider->getId(), 'redirect_url' => $_['redirect_url'], ] )) ?>"> <?php if ($provider instanceof \OCP\Authentication\TwoFactorAuth\IProvidesIcons) { $icon = $provider->getLightIcon(); } else { $icon = image_path('core', 'actions/password-white.svg'); } ?> <img src="<?php p($icon) ?>" alt="" /> <div> <h3><?php p($provider->getDisplayName()) ?></h3> <p><?php p($provider->getDescription()) ?></p> </div> </a> </li> <?php endforeach; ?> </ul> <p><a class="two-factor-secondary" href="<?php print_unescaped($_['logout_url']); ?>"> <?php p($l->t('Cancel login')) ?> </a></p> </div>