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

@if ($this->enabled) {{ __('You have enabled two factor authentication.') }} @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)

{{ __('Two factor authentication is now enabled. Scan the following QR code using your phone\'s authenticator application.') }}

{!! $this->user->twoFactorQrCodeSvg() !!}
@endif @if ($showingRecoveryCodes)

{{ __('Store these recovery codes in a secure password manager. They can be used to recover access to your account if your two factor authentication device is lost.') }}

@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') }} @else {{ __('Show Recovery Codes') }} @endif {{ __('Disable') }} @endif