discourse/app/views/common/_second_factor_text_field.h...

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' %>