diff options
Diffstat (limited to 'app/views/twofa')
-rw-r--r-- | app/views/twofa/_twofa_code_form.html.erb | 2 | ||||
-rw-r--r-- | app/views/twofa/activate_confirm.html.erb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/twofa/_twofa_code_form.html.erb b/app/views/twofa/_twofa_code_form.html.erb index b9d0e1bf7..5ba01dfbf 100644 --- a/app/views/twofa/_twofa_code_form.html.erb +++ b/app/views/twofa/_twofa_code_form.html.erb @@ -3,7 +3,7 @@ <div class="tabular"> <p> <label for="twofa_code"><%=l 'twofa_label_code' -%></label> - <%= text_field_tag :twofa_code, nil, autocomplete: 'off' -%> + <%= text_field_tag :twofa_code, nil, autocomplete: 'one-time-code' -%> </p> </div> </div> diff --git a/app/views/twofa/activate_confirm.html.erb b/app/views/twofa/activate_confirm.html.erb index 78194c62b..6a9bb070e 100644 --- a/app/views/twofa/activate_confirm.html.erb +++ b/app/views/twofa/activate_confirm.html.erb @@ -12,7 +12,7 @@ <%= render partial: "twofa/#{@twofa_view[:scheme_name]}/new", locals: { twofa_view: @twofa_view } -%> <p> <label for="twofa_code"><%=l 'twofa_label_code' -%></label> - <%= text_field_tag :twofa_code, nil, autocomplete: 'off', autofocus: true -%> + <%= text_field_tag :twofa_code, nil, autocomplete: 'one-time-code', autofocus: true -%> </p> </div> </div> |