From f0373285eb86145dc317c68c7729cfe818ccf6f1 Mon Sep 17 00:00:00 2001
From: Noah Petherbridge
In case you lose access to your Authenticator App, please print off or write down these
@@ -72,7 +78,12 @@
-
If you wish to disable two-factor authentication for your account, please enter
@@ -95,6 +106,43 @@
Disable Two-Factor Authentication
+
+
+ If you wish to set up another authenticator device and view your original
+ QR code, you may do so by entering your current account password below. This may be useful
+ if you have bought a new phone or want to migrate your authenticator to a different device,
+ so that you may access the original QR code and configure the new authenticator.
+
+ Note: this will not change your 2FA security key or backup codes. If you
+ have lost your old authenticator, it will be more secure to disable and then set up
+ 2FA from scratch, which will generate a new secret key and backup codes.
+ Backup Codes
+
+ {{if .IsPairingSecondDevice}}
+ {{template "2fa-setup" .}}
+
+ {{end}}
+
+ Backup Codes
Disable Two-Factor Auth
+
+
+
+
+ Disable Two-Factor Auth
+
+
+
+
+ Set Up Another Device
+
+
+
- To set up Two-Factor Auth, you'll need to download and install a compatible - Authenticator App on your device. Some suggestions for apps that are compatible - with {{PrettyTitle}} are as follows: -
- -- When you have your Authenticator App ready, click on its "Add a new site" button and scan - the following QR code to enroll your device for {{PrettyTitle}}: -
- - {{ToHTML .QRCode}} - -- Alternatively (if you can't scan the QR code), you may copy and paste this secret text - in to your Authenticator app: -
- -- After scanning the QR code (or copying the secret key) into your Authenticator app, you - should be able to generate temporary six-digit authentication codes. -
- -- Test that you have enrolled your authenticator correctly by entering the current six-digit - code below: -
- - + {{template "2fa-setup" .}} @@ -241,6 +201,97 @@ {{end}} +{{define "2fa-setup"}} ++ To set up Two-Factor Auth, you'll need to download and install a compatible + Authenticator App on your device. Some suggestions for apps that are compatible + with {{PrettyTitle}} are as follows: +
+ ++ When you have your Authenticator App ready, click on its "Add a new site" button and scan + the following QR code to enroll your device for {{PrettyTitle}}: +
+ +{{ToHTML .QRCode}} + ++ Alternatively (if you can't scan the QR code), you may copy and paste this secret text + in to your Authenticator app: +
+ ++ After scanning the QR code (or copying the secret key) into your Authenticator app, you + should be able to generate temporary six-digit authentication codes. +
+ ++ Test that you have enrolled your authenticator correctly by entering the current six-digit + code below: +
+ + +{{end}} {{define "scripts"}}