@if ($currentStep > 1 && $passwordConfirmedAt)
{{ __('two-factor.security.2fa.setup.skipped.password_confirmed', ['time' => $passwordConfirmedAt->diffForHumans()]) }}
@endif
@if ($currentStep === 1)
{{ __('two-factor.security.2fa.setup.step1.title') }}
{{ __('two-factor.security.2fa.setup.step1.intro') }}
@elseif ($currentStep === 2)
{{ __('two-factor.security.2fa.setup.step2.title') }}
{{ __('two-factor.security.2fa.setup.step2.intro', ['email' => $maskedEmail]) }}
@elseif ($currentStep === 3)
{{ __('two-factor.security.2fa.setup.step3.title') }}
@if ($isMobile)
{{ __('two-factor.security.2fa.setup.step3.mobile.intro') }}
{{ __('two-factor.security.2fa.setup.step3.secret_label') }}
••••-••••-••••-••••
{{ __('two-factor.security.2fa.setup.step3.reveal') }}
{{ __('two-factor.security.2fa.setup.step3.copy') }}
{{ __('two-factor.security.2fa.setup.step3.mobile.deep_link') }}
{{ __('two-factor.security.2fa.setup.step3.mobile.qr_fallback') }}
{{-- SAFE: Fortify's twoFactorQrCodeSvg() returns a server-generated SVG
derived only from the secret + issuer — no user input in the DOM. --}}
{!! $user->twoFactorQrCodeSvg() !!}
@else
{{ __('two-factor.security.2fa.setup.step3.desktop.intro') }}
{{-- SAFE: Fortify's twoFactorQrCodeSvg() returns a server-generated SVG
derived only from the secret + issuer — no user input in the DOM. --}}
{!! $user->twoFactorQrCodeSvg() !!}
{{ __('two-factor.security.2fa.setup.step3.desktop.manual_fallback') }}
{{ $formattedSecret }}
@endif
@endif