diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-05-19 19:08:23 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-05-19 19:08:23 -0400 |
commit | f50b7ed2ccd32cb8024b78995183bf94834dac77 (patch) | |
tree | 5accbf8e561068f976c6b2f3258b4432ab66e20a | |
parent | 6d5ffaa848dcbc09538f79cb0cdea08f5306f4a4 (diff) |
Add autofocus for the 2FA code
-rw-r--r-- | app/Template/twofactor/check.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Template/twofactor/check.php b/app/Template/twofactor/check.php index af64bc76..c29c0129 100644 --- a/app/Template/twofactor/check.php +++ b/app/Template/twofactor/check.php @@ -2,7 +2,7 @@ <?= $this->formCsrf() ?> <?= $this->formLabel(t('Code'), 'code') ?> - <?= $this->formText('code', array(), array(), array('placeholder="123456"'), 'form-numeric') ?> + <?= $this->formText('code', array(), array(), array('placeholder="123456"', 'autofocus'), 'form-numeric') ?> <div class="form-actions"> <input type="submit" value="<?= t('Check my code') ?>" class="btn btn-blue"/> |