{{ __('filament-breezy::default.profile.2fa.title') }} {{ __('filament-breezy::default.profile.2fa.description') }} @if($this->user->has_enabled_two_factor) @if ($this->user->has_confirmed_two_factor)

{{ __('filament-breezy::default.profile.2fa.enabled.title') }}

{{ __('filament-breezy::default.profile.2fa.enabled.description') ?? __('filament-breezy::default.profile.2fa.enabled.store_codes') }} @else

{{ __('filament-breezy::default.profile.2fa.finish_enabling.title') }}

{{ __('filament-breezy::default.profile.2fa.finish_enabling.description') }} @endif
{!! $this->twoFactorQrCode() !!}

{{ __('filament-breezy::default.profile.2fa.setup_key') }} {{ decrypt($this->user->two_factor_secret) }}

@if ($this->showing_two_factor_recovery_codes)

{{ __('filament-breezy::default.profile.2fa.enabled.store_codes') }}

@foreach (json_decode(decrypt($this->user->two_factor_recovery_codes), true) as $code) {{ $code }} @endforeach
{{$this->getCachedAction('regenerate2fa')}} @endif @else

{{ __('filament-breezy::default.profile.2fa.not_enabled.title') }}

{{ __('filament-breezy::default.profile.2fa.not_enabled.description') }} @endif @if($this->user->has_enabled_two_factor && $this->user->has_confirmed_two_factor)
{{$this->showing_two_factor_recovery_codes ? __('filament-breezy::default.profile.2fa.enabled.hide_codes') :__('filament-breezy::default.profile.2fa.enabled.show_codes')}} {{$this->getCachedAction('disable2fa')}}
@elseif($this->user->has_enabled_two_factor)
{{$this->confirmTwoFactorForm}}
{{ __('filament-breezy::default.profile.2fa.actions.confirm_finish') }} {{ __('filament-breezy::default.profile.2fa.actions.cancel_setup') }}
@else
{{$this->getCachedAction('enable2fa')}}
@endif