{{ __('Secure your account') }}

@if (!$showingRecoveryCodes && $user->two_factor_confirmed_at)

{{ __('Your account has been secured with two factor authentication') }}.

@else

{{ __('Add additional security to your account using two factor authentication') }}.

@endif
{{ __('You can disable two factor authentication at any time by using the button below') }}. @if (!$showingRecoveryCodes && $user->two_factor_confirmed_at) {{ $this->disableAction() }} @else {{-- {{ __('You have :amount options to confirm your identity, please choose one of the options below to continue', ['amount' => $this->twoFactorOptionsCount]) }}. --}} {{ __('You have :amount option to confirm your identity, please choose the option below to continue', ['amount' => $this->twoFactorOptionsCount]) }}. @endif @if (!$user->hasEnabledTwoFactorAuthentication() || $this->showingRecoveryCodes) @if (!$this->showTwoFactor()) {{ $this->twoFactorOptionForm }}
{{ $this->enableAction() }}
@endif @if ($this->showTwoFactor())
@if ($this->showQrCode)
@unless ($showingQrCode)
{!! __('Two-Factor Authentication enabled') !!}
@else
{!! __('Or scan the QR code with your authenticator app') !!}.
{!! $user->twoFactorQrCodeSvg() !!}

{!! __('The secret key to setup the authenticator app is') !!}:
{{ decrypt($user->two_factor_secret) }}

@endunless
@endif @if ($showingRecoveryCodes)
{!! __( 'Save these recovery codes in a secure place as they can be used to recover access to your account if you lose your device', ) !!}.
@foreach ((array) $user->recoveryCodes() as $index => $code)

{{ $code }}

@endforeach
@endif @if ($showingConfirmation)
{{ $this->otpCodeForm }}
@endif
@if (!$showingRecoveryCodes && !$user->two_factor_confirmed_at) {{ $this->disableAction() }} @endif @if ($showingRecoveryCodes) {{ $this->downloadAction() }} {{ $this->regenerateAction() }} @elseif ($showingConfirmation) {{ $this->confirmAction() }} @endif
@endif @endif