diff --git a/lib/plausible_web/components/generic.ex b/lib/plausible_web/components/generic.ex index 754d22154..003e04dbc 100644 --- a/lib/plausible_web/components/generic.ex +++ b/lib/plausible_web/components/generic.ex @@ -252,10 +252,7 @@ defmodule PlausibleWeb.Components.Generic do attr :scale, :integer, default: 4 def qr_code(assigns) do - qr_color = {101, 116, 205} - svg_settings = %QRCode.Render.SvgSettings{ - qrcode_color: qr_color, structure: :readable, scale: assigns.scale } diff --git a/lib/plausible_web/templates/auth/initiate_2fa_setup.html.heex b/lib/plausible_web/templates/auth/initiate_2fa_setup.html.heex new file mode 100644 index 000000000..c15657a70 --- /dev/null +++ b/lib/plausible_web/templates/auth/initiate_2fa_setup.html.heex @@ -0,0 +1,66 @@ +
or type in the code manually:
+<%= @secret %>+
+ Changed your mind? + "#setup-2fa"} + class="underline text-indigo-600" + > + Go back to settings + +
+ <.unstyled_link + id="proceed" + class="button" + href={Routes.auth_path(@conn, :verify_2fa_setup_form)} + > + Proceed → + +