From ad027eb033443cda38d408f8c217f931a7aa0f20 Mon Sep 17 00:00:00 2001 From: Rasel Islam Rafi <31556372+rtraselbd@users.noreply.github.com> Date: Sat, 29 Jun 2024 13:30:28 +0600 Subject: [PATCH] Enable 2FA Without QR Code (#248) --- .../partials/two-factor-authentication.blade.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/resources/views/profile/partials/two-factor-authentication.blade.php b/resources/views/profile/partials/two-factor-authentication.blade.php index 1d44665..4d09dd3 100644 --- a/resources/views/profile/partials/two-factor-authentication.blade.php +++ b/resources/views/profile/partials/two-factor-authentication.blade.php @@ -46,6 +46,16 @@
{!! auth()->user()->twoFactorQrCodeSvg() !!}
+ +
+ {{ __("If you are unable to scan the QR code, please use the 2FA secret instead.") }} +
+ +
+
+ {{ decrypt(auth()->user()->two_factor_secret) }} +
+
@endif {{-- Show 2FA Recovery Codes --}}