Two factor Authentication
@if (session('status') === 'two-factor-authentication-enabled')
Two factor authentication has been enabled.
@endif
@if (session('status') === 'two-factor-authentication-disabled')
Two factor authentication has been disabled.
@endif
@if(auth()->user()->two_factor_secret)
@foreach(json_decode(decrypt(auth()->user()->two_factor_recovery_codes),true) as $code)
{{$code}}
@endforeach
{!! auth()->user()->twoFactorQrCodeSvg(); !!}
@endif
@endsection