From 1167c2d54dfa048ca117df0ebb34cb4e54bd9705 Mon Sep 17 00:00:00 2001 From: Adrian Gruntkowski Date: Wed, 22 Nov 2023 16:03:02 +0100 Subject: [PATCH] Improve view for initiating 2FA setup --- .../auth/initiate_2fa_setup.html.heex | 37 +++++++++++-------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/lib/plausible_web/templates/auth/initiate_2fa_setup.html.heex b/lib/plausible_web/templates/auth/initiate_2fa_setup.html.heex index c15657a70..066e5353a 100644 --- a/lib/plausible_web/templates/auth/initiate_2fa_setup.html.heex +++ b/lib/plausible_web/templates/auth/initiate_2fa_setup.html.heex @@ -1,17 +1,19 @@ -
+

Setup Two-Factor Authentication

-
+
Link your Plausible account to the authenticator app you have installed either on your phone or computer. -
-
- <.qr_code text={@totp_uri} /> +
+
+
+ <.qr_code text={@totp_uri} /> +
-
+
  1. @@ -29,22 +31,25 @@
    - Scan this code with your phone camera + Scan this code with your phone camera or paste the code manually
-
-

or type in the code manually:

-
<%= @secret %>
+
+
-