{{ __('settings.Two-factor') }}

@if ($enabled) {{ __('dashboard.Two-factor authentication is enabled for your account.') }} @else {{ __('dashboard.Add an authenticator app for an extra layer of security.') }} @endif

@include('livewire.settings.profile.options.nav') @unless ($enabled) @if ($pendingSecret)

{{ __('dashboard.Add this account in your authenticator app using the secret or otpauth URI.') }}

{{ $pendingSecret }} @if ($qrCodeSvg)
{!! $qrCodeSvg !!}
@endif
@error('code') {{ $message }} @enderror
{{ __('dashboard.Confirm and enable') }}
@else
@error('password') {{ $message }} @enderror
{{ __('dashboard.Enable two-factor authentication') }}
@endif @endunless @if ($recoveryCodes !== []) {{ __('dashboard.Recovery codes') }} {{ __('dashboard.Store these codes somewhere safe. Each code can be used once.') }}
    @foreach ($recoveryCodes as $item)
  • {{ $item }}
  • @endforeach
@endif @if ($enabled)
@error('regeneratePassword') {{ $message }} @enderror
{{ __('dashboard.Regenerate') }}
@error('disablePassword') {{ $message }} @enderror
{{ __('dashboard.Disable') }}
{{ __('dashboard.Disable') }} @endif