{{ __('two_factor_setup.title') }}

{{ __('two_factor_setup.sub') }}

{{-- Every action is re-checked server-side against a recent password confirmation — hiding the buttons stops nobody who can post to /livewire/update. --}}
{{ $twoFactorOn ? __('two_factor_setup.state_on') : __('two_factor_setup.state_off') }} @if (! $passwordConfirmed) {{-- The gate. A signed-in session is not enough to change how the account is protected — the risk is an unlocked machine. --}}

{{ __('two_factor_setup.confirm_first') }}

{{ __('two_factor_setup.confirm_button') }}
@elseif ($twoFactorOn)
{{ __('two_factor_setup.new_codes') }} {{ __('two_factor_setup.disable') }}
@elseif ($twoFactorPending)
{!! $twoFactorQr !!}

{{ __('two_factor_setup.scan') }}

{{ __('two_factor_setup.activate') }}
@else {{ __('two_factor_setup.enable') }} @endif @if ($recoveryCodes) {{-- Shown once, on purpose: nobody writes down what they were never shown, and these are the way back in when the phone is gone. --}}

{{ __('two_factor_setup.codes_title') }}

{{ __('two_factor_setup.codes_hint') }}

    @foreach ($recoveryCodes as $code)
  • {{ $code }}
  • @endforeach
@endif