{{ __('Two Factor Authentication') }}

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

@if ($this->enabled) @if ($showingConfirmation) {{ __('Finish enabling two factor authentication.') }} @else {{ __('You have enabled two factor authentication.') }} @endif @else {{ __('You have not enabled two factor authentication.') }} @endif

{{ __('When two factor authentication is enabled, you will be prompted for a secure, random token during authentication. You may retrieve this token from your phone\'s Google Authenticator application.') }}

@if ($this->enabled) @if ($showingQrCode)
@if ($showingConfirmation) {{ __('To finish enabling two factor authentication, scan the following QR code using your phone\'s authenticator application or enter the setup key and provide the generated OTP code.') }} @else {{ __('Two factor authentication is now enabled. Scan the following QR code using your phone\'s authenticator application or enter the setup key.') }} @endif
{!! $this->user->twoFactorQrCodeSvg() !!}

{{ __('Setup Key') }}: {{ decrypt($this->user->two_factor_secret) }}

@if ($showingConfirmation)
@endif @endif @if ($showingRecoveryCodes)
Guarde estos códigos de recuperación en un administrador de contraseñas seguro.

Se pueden utilizar para recuperar el acceso a su cuenta si pierde su dispositivo de autenticación de dos factores.

@foreach (json_decode(decrypt($this->user->two_factor_recovery_codes), true) as $code)
{{ $code }}
@endforeach
@endif @endif
@if (! $this->enabled) {{ __('Enable') }} @else @if ($showingRecoveryCodes) {{ __('Regenerate Recovery Codes') }} @elseif ($showingConfirmation) {{ __('Confirm') }} @else {{ __('Show Recovery Codes') }} @endif @if ($showingConfirmation) {{ __('Cancel') }} @else {{ __('Disable') }} @endif @endif