Enable second factor

Scan
<%= raw RQRCode::QRCode.new(current_user.pending_otp_provisioning_uri) .as_svg(:module_size => 4, :viewbox => true, :color => "000", :fill => "fff") %>
Or enter the secret manually: <%= current_user.otp_pending_secret %>
Confirm
<%= form_tag otp_enrollment_path, :method => :put, :class => "otp_form" do %> <%= text_field_tag :code, nil, :autofocus => true, :autocomplete => "one-time-code", :inputmode => "numeric" %> <%= button_tag :type => "submit", :class => "action_button" do %> <%= icon("shield-check", library: "tabler", "aria-hidden": true) %> Confirm <% end %> <% end %> Enter the six-digit code your app shows for “<%= OTP_ISSUER %>”.