diff --git a/lib/philomena_web/templates/registration/totp/edit.html.slime b/lib/philomena_web/templates/registration/totp/edit.html.slime index bd6ece53..ccf9912d 100644 --- a/lib/philomena_web/templates/registration/totp/edit.html.slime +++ b/lib/philomena_web/templates/registration/totp/edit.html.slime @@ -110,7 +110,10 @@ h1 Two Factor Authentication strong = @totp_secret p - img src=@totp_qrcode alt="QR Code" + svg xmlns="http://www.w3.org/2000/svg" width="392" height="392" + rect fill="#fff" width="392" height="392" + image xlink:href=@totp_qrcode alt="QR Code" x="32" y="32" + h4 Confirm pairing p Enter the code generated by your authenticator app into the field below for verification. = text_input f, :twofactor_token, class: "input", placeholder: "6-digit code", autocomplete: "off" @@ -132,4 +135,4 @@ h1 Two Factor Authentication = submit "Save Account", class: "button" -p = link "Back", to: Routes.pow_registration_path(@conn, :edit) \ No newline at end of file +p = link "Back", to: Routes.pow_registration_path(@conn, :edit)