aboutsummaryrefslogtreecommitdiff
path: root/app/views/tfa/setup.php
blob: 5c605597ec2eb6351bf2687f2c9aab8834a8b6c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<form class="default" action="<?= $controller->create() ?>" method="post">
    <?= CSRFProtection::tokenTag() ?>

    <fieldset>
        <legend><?= _('Zwei-Faktor-Authentifizierung einrichten') ?></legend>

        <?= formatReady(Config::get()->TFA_TEXT_INTRODUCTION) ?>

        <label>
            <input required type="radio" name="type" value="email">
            <?= _('E-Mail') ?>
        </label>

        <label>
            <input required type="radio" name="type" value="app">
            <?= _('Authenticator-App') ?>
        </label>
    </fieldset>

    <footer>
        <?= Studip\Button::createAccept(_('Aktivieren')) ?>
    </footer>
</form>