summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/views/profiles/two_factor_auths/new.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/profiles/two_factor_auths/new.html.haml b/app/views/profiles/two_factor_auths/new.html.haml
index f0a4a341878..fe03a259a12 100644
--- a/app/views/profiles/two_factor_auths/new.html.haml
+++ b/app/views/profiles/two_factor_auths/new.html.haml
@@ -18,6 +18,6 @@
.form-group
= label_tag :pin_code, nil, class: "control-label"
.col-sm-10
- = text_field_tag :pin_code, nil, class: "form-control", required: true
+ = text_field_tag :pin_code, nil, class: "form-control", required: true, autofocus: true
.form-actions
= submit_tag 'Submit', class: 'btn btn-success'