summaryrefslogtreecommitdiff
path: root/app/Template/user/index.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-03-31 22:48:14 -0400
committerFrederic Guillot <fred@kanboard.net>2015-03-31 22:48:14 -0400
commitabeeba71672a711dab98194bb8ae751ee95e3385 (patch)
tree26838682b1ab13611b9697d1b8900122409dbf47 /app/Template/user/index.php
parent5d393ed9962ebe18a162cb09b08eaea9359df2cc (diff)
Add two factor authentication
Diffstat (limited to 'app/Template/user/index.php')
-rw-r--r--app/Template/user/index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/Template/user/index.php b/app/Template/user/index.php
index 41e205ba..d6b0fecf 100644
--- a/app/Template/user/index.php
+++ b/app/Template/user/index.php
@@ -17,6 +17,7 @@
<th><?= $paginator->order(t('Name'), 'name') ?></th>
<th><?= $paginator->order(t('Email'), 'email') ?></th>
<th><?= $paginator->order(t('Administrator'), 'is_admin') ?></th>
+ <th><?= $paginator->order(t('Two factor authentication'), 'twofactor_activated') ?></th>
<th><?= $paginator->order(t('Default project'), 'default_project_id') ?></th>
<th><?= $paginator->order(t('Notifications'), 'notifications_enabled') ?></th>
<th><?= t('External accounts') ?></th>
@@ -40,6 +41,9 @@
<?= $user['is_admin'] ? t('Yes') : t('No') ?>
</td>
<td>
+ <?= $user['twofactor_activated'] ? t('Yes') : t('No') ?>
+ </td>
+ <td>
<?= (isset($user['default_project_id']) && isset($projects[$user['default_project_id']])) ? $this->e($projects[$user['default_project_id']]) : t('None'); ?>
</td>
<td>