summaryrefslogtreecommitdiff
path: root/app/Template/twofactor/disable.php
blob: c44c450f8f43249354653625c6fcf7454517fe96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<div class="page-header">
    <h2><?= t('Disable two factor authentication') ?></h2>
</div>

<div class="confirm">
    <p class="alert alert-info">
        <?= t('Do you really want to disable the two factor authentication for this user: "%s"?', $user['name'] ?: $user['username']) ?>
    </p>

    <?= $this->modal->confirmButtons(
        'TwoFactorController',
        'disable',
        array('user_id' => $user['id'], 'disable' => 'yes')
    ) ?>
</div>