{{ __('dashboard.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.dashboard.profile.options.nav') @unless ($enabled) @if ($pendingSecret)

{{ __('dashboard.Confirm and enable') }}

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

{{ __('dashboard.Secret') }}

{{ $pendingSecret }}
@if ($qrCodeSvg)
{!! $qrCodeSvg !!}
@endif
@error('code') {{ $message }} @enderror
{{ __('dashboard.Confirm and enable') }}
@else

{{ __('dashboard.Authenticator app') }}

@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.') }} @endif @if ($enabled)

{{ __('dashboard.Regenerate recovery codes') }}

@error('regeneratePassword') {{ $message }} @enderror
{{ __('dashboard.Regenerate') }}

{{ __('dashboard.Disable two-factor authentication') }}

@error('disablePassword') {{ $message }} @enderror
{{ __('dashboard.Disable') }}
{{ __('dashboard.Disable') }} @endif