diff --git a/app/views/icons/_device_desktop.html.erb b/app/views/icons/_device_desktop.html.erb index 3a6ba14f..7f69a1c7 100644 --- a/app/views/icons/_device_desktop.html.erb +++ b/app/views/icons/_device_desktop.html.erb @@ -1,8 +1,7 @@ - - + diff --git a/app/views/mfa_setup/_form.html.erb b/app/views/mfa_setup/_form.html.erb index 96602342..c931b48e 100644 --- a/app/views/mfa_setup/_form.html.erb +++ b/app/views/mfa_setup/_form.html.erb @@ -3,7 +3,7 @@ <%= t('use_an_authenticator_mobile_app_like_google_authenticator_or_1password_to_scan_the_qr_code_below') %>

- <%== RQRCode::QRCode.new(@provision_url).as_svg(viewbox: true, svg_attributes: { class: 'md:w-80 md:h-80 my-4 mx-auto' }) %> + <%== RQRCode::QRCode.new(@provision_url).as_svg(viewbox: true, svg_attributes: { class: 'md:w-80 md:h-80 my-4 mx-auto' }).sub(/\A<\?xml[^>]*\?>/, '') %>
<%= f.text_field :otp_attempt, required: true, placeholder: 'XXX-XXX', class: 'base-input text-center' %>