From 6a11c32bb240a88a7600257e1f8bf0c42b4ac327 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 25 Jul 2022 00:10:59 +0300 Subject: [PATCH] fix: do not style 2fa QR code (#4278) Dark rounded background shadow around the QR code makes it more difficult or impossible to scan on some devices. Replaces it with a white shadow to make easier scanning. --- .../scripts/components/dashboard/forms/SetupTOTPDialog.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/resources/scripts/components/dashboard/forms/SetupTOTPDialog.tsx b/resources/scripts/components/dashboard/forms/SetupTOTPDialog.tsx index 58f593b0f..836b2ef87 100644 --- a/resources/scripts/components/dashboard/forms/SetupTOTPDialog.tsx +++ b/resources/scripts/components/dashboard/forms/SetupTOTPDialog.tsx @@ -61,13 +61,11 @@ const ConfigureTwoFactorForm = ({ onTokens }: Props) => { return (
-
+
{!token ? ( ) : ( - + )}