diff options
author | Frédéric Guillot <fred@kanboard.net> | 2019-01-30 21:17:30 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2019-01-30 21:17:30 -0800 |
commit | a1c437bce825d90011750199fbcc0ca08ada51b3 (patch) | |
tree | 7fcdde99272ec61a9f3ea51118042b4f4575e197 /app/Template | |
parent | 322383b0847426cb92533528a784471b94193a3b (diff) |
Do not show projects dropdown when prompting the 2FA code
Diffstat (limited to 'app/Template')
-rw-r--r-- | app/Template/twofactor/check.php | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/app/Template/twofactor/check.php b/app/Template/twofactor/check.php index 06801d50..2c0de97c 100644 --- a/app/Template/twofactor/check.php +++ b/app/Template/twofactor/check.php @@ -1,10 +1,15 @@ -<form method="post" action="<?= $this->url->href('TwoFactorController', 'check', array('user_id' => $this->user->getId())) ?>" autocomplete="off"> +<section class="page"> + <div class="page-header"> + <h2><?= t('Two factor authentication') ?></h2> + </div> + <form method="post" action="<?= $this->url->href('TwoFactorController', 'check', array('user_id' => $this->user->getId())) ?>" autocomplete="off"> + <?= $this->form->csrf() ?> - <?= $this->form->csrf() ?> - <?= $this->form->label(t('Code'), 'code') ?> - <?= $this->form->text('code', array(), array(), array('placeholder="123456"', 'autofocus'), 'form-numeric') ?> + <?= $this->form->label(t('Code'), 'code') ?> + <?= $this->form->text('code', array(), array(), array('placeholder="123456"', 'autofocus'), 'form-numeric') ?> - <div class="form-actions"> - <button type="submit" class="btn btn-blue"><?= t('Check my code') ?></button> - </div> -</form> + <div class="form-actions"> + <button type="submit" class="btn btn-blue"><?= t('Check my code') ?></button> + </div> + </form> +</section>
\ No newline at end of file |