$this->enabled, 'bg-gray-400 dark:bg-gray-500' => ! $this->enabled, ]) >

@if ($this->enabled) {{ __('shopper::pages/auth.account.two_factor_enabled') }} @else {{ __('shopper::pages/auth.account.two_factor_disabled') }} @endif

@if (! $this->enabled)

{{ __('shopper::pages/auth.account.two_factor_install_message') }}

{{ __('shopper::words.learn_more') }} →

@endif

{{ __('shopper::pages/auth.account.two_factor_secure') }}

@if ($this->enabled)

{{ __('shopper::pages/auth.account.two_factor_activation_message') }}

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

{{ __('shopper::pages/auth.account.two_factor_is_enabled') }}

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

{{ __('shopper::pages/auth.account.two_factor_store_recovery_codes') }}

@foreach (json_decode(decrypt($this->user->two_factor_recovery_codes), true) as $code) {{ $code }} @endforeach
@endif @endif
@if (! $this->enabled) {{ __('shopper::forms.actions.enabled_two_factor') }} @else
{{ __('shopper::forms.actions.disable') }} @if ($showingRecoveryCodes) {{ __('shopper::forms.actions.regenerate_code') }} @else {{ __('shopper::forms.actions.show_recovery_code') }} @endif
@endif