summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/twofactor/check.php2
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"/>