{{-- Every action below is re-checked server-side against a recent password
confirmation — hiding a button stops nobody who can post to
/livewire/update. --}}
@if (! $passwordConfirmed)
{{-- The gate. Being signed in is not enough to change how the account is
protected: the realistic threat is an unlocked machine. --}}
@elseif ($twoFactorPending)
{{-- The step that had no way out. The secret exists but is unconfirmed,
so "Abbrechen" genuinely clears it rather than leaving a dangling
enrolment that nothing else on the console would ever show. --}}
{{ __('two_factor_setup.scan_title') }}
{{ __('two_factor_setup.step_two') }}
{!! $twoFactorQr !!}
1.{{ __('two_factor_setup.scan_step_open') }}
2.{{ __('two_factor_setup.scan_step_scan') }}
3.{{ __('two_factor_setup.scan_step_code') }}
@else
{{ __('two_factor_setup.not_set_title') }}
{{ __('two_factor_setup.not_set_body') }}
{{ __('two_factor_setup.need_app') }}
{{ __('two_factor_setup.enable') }}
@endif
@if ($recoveryCodes)
{{-- Its own card, not a footnote under another one: these are the only
way back in once the phone is gone, and they are shown exactly once. --}}