{{ __('user.2fa') }}
{{ __('user.2fa_add') }}

@if ($this->enabled) @if ($showingConfirmation) {{ __('user.2fa_finish') }} @else {{ __('user.2fa_enabled') }} @endif @else {{ __('user.2fa_not_enabled') }} @endif

{{ __('user.2fa_message') }}

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

@if ($showingConfirmation) {{ __('user.2fa_to_finish') }} @else {{ __('user.2fa_enabled_scan') }} @endif

{!! $this->user->twoFactorQrCodeSvg() !!}

{{ __('user.2fa_setup_key') }}: {{ decrypt($this->user->two_factor_secret) }}

@if ($showingConfirmation)
@endif @endif @if ($showingRecoveryCodes)

{{ __('user.2fa_store_codes') }}

@foreach (json_decode(decrypt($this->user->two_factor_recovery_codes), true) as $code)
{{ $code }}
@endforeach
@endif @endif
@if (!$this->enabled) {{ __('user.2fa_enable') }} @else @if ($showingRecoveryCodes) {{ __('user.2fa_regenerate') }} @elseif ($showingConfirmation) {{ __('user.2fa_confirm') }} @else {{ __('user.2fa_show') }} @endif @if ($showingConfirmation) {{ __('user.cancel') }} @else {{ __('user.2fa_disable') }} @endif @endif