mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-17 17:01:37 +00:00
Enable 2FA Without QR Code (#248)
This commit is contained in:
parent
e031bafba5
commit
ad027eb033
@ -46,6 +46,16 @@
|
||||
<div class="mt-5">
|
||||
{!! auth()->user()->twoFactorQrCodeSvg() !!}
|
||||
</div>
|
||||
|
||||
<div class="mt-5">
|
||||
{{ __("If you are unable to scan the QR code, please use the 2FA secret instead.") }}
|
||||
</div>
|
||||
|
||||
<div class="mt-2">
|
||||
<div class="inline-block rounded-md border border-gray-100 p-2 dark:border-gray-700">
|
||||
{{ decrypt(auth()->user()->two_factor_secret) }}
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{{-- Show 2FA Recovery Codes --}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user