{{ __('profile.two-factor-authentication') }} {{ __('profile.two-factor-authentication-description') }}

@if ($this->enabled) {{ __('profile.two-factor-enable-message') }} @else {{ __('profile.two-factor-not-enable-message') }} @endif

{{ __('profile.two-factor-authentication-description-2') }}

@if ($this->enabled) @if ($showingQrCode)

{{ __('profile.two-factor-authentication-description-3') }}

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

{{ __('profile.two-factor-authentication-description-4') }}

@foreach (json_decode(decrypt($this->user->two_factor_recovery_codes), true) as $code)
{{ $code }}
@endforeach
@endif @endif
@if (! $this->enabled) {{ __('buttons.enable') }} @else @if ($showingRecoveryCodes) {{ __('profile.regenerate-recovery-code') }} @else {{ __('profile.show-recovery-code') }} @endif {{ __('buttons.disable') }} @endif