summaryrefslogtreecommitdiff
path: root/app/Template/twofactor/disable.php
blob: 6909b446874ffc6c8574699ef63409851d3cfb40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<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>

    <div class="form-actions">
        <?= $this->a(t('Yes'), 'twofactor', 'disable', array('user_id' => $user['id'], 'disable' => 'yes'), true, 'btn btn-red') ?>
        <?= t('or') ?> <?= $this->a(t('cancel'), 'user', 'show', array('user_id' => $user['id'])) ?>
    </div>
</div>