{{ __('update_profile.Two Factor Authentication') }} {{ __('update_profile.additional securit') }}

@if ($this->enabled) @if ($showingConfirmation) {{ __('update_profile.Finish enabling') }} @else {{ __('update_profile.You have not enabled') }} @endif @else {{ __('update_profile.You have not enabled') }} @endif

{{ __('update_profile.When two factor') }}

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

@if ($showingConfirmation) {{ __('update_profile.To finish enabling') }} @else {{ __('update_profile.Two factor authentication is now enabled') }} @endif

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

{{ __('Setup Key') }}: {{ decrypt($this->user->two_factor_secret) }}

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

{{ __('update_profile.Store these recovery codes') }}

@foreach (json_decode(decrypt($this->user->two_factor_recovery_codes), true) as $code)
{{ $code }}
@endforeach
@endif @endif
@if (! $this->enabled) {{ __('update_profile.Enable') }} @else @if ($showingRecoveryCodes) {{ __('update_profile.Regenerate Recovery Codes') }} @elseif ($showingConfirmation) {{ __('update_profile.Confirm') }} @else {{ __('update_profile.Show Recovery Codes') }} @endif @if ($showingConfirmation) {{ __('update_profile.Cancel') }} @else {{ __('update_profile.Disable') }} @endif @endif