diff --git a/scripts/pi-hole/js/settings-api.js b/scripts/pi-hole/js/settings-api.js index 285fbd5a..df2253a1 100644 --- a/scripts/pi-hole/js/settings-api.js +++ b/scripts/pi-hole/js/settings-api.js @@ -269,6 +269,8 @@ $("#modal-totp").on("shown.bs.modal", function () { level: "Q", size: 300, }); + $("#qrcode-spinner").hide(); + $("#qrcode").show(); }) .fail(function (data) { apiFailure(data); diff --git a/settings-api.php b/settings-api.php index 55dde6c8..c9d446bc 100644 --- a/settings-api.php +++ b/settings-api.php @@ -145,7 +145,10 @@ require 'scripts/pi-hole/php/header_authenticated.php';
Use a phone app like Google Authenticator, 2FA Authenticator, FreeOTP or BitWarden, etc. to get 2FA codes when prompted during login.
1. Scan the QR code below with your app or enter the secret manually.
2. Enter the 2FA code from your app below to confirm that you have set up 2FA correctly.