discourse/app/views/common/_second_factor_text_field.html.erb
2018-06-28 10:12:32 +02:00

3 lines
166 B
Plaintext

<%= text_field_tag(:second_factor_token, nil, autofocus: true, pattern: '[0-9]{6}', maxlength: 6, type: 'tel') %>
<%= hidden_field_tag 'second_factor_method', '1' %>