{{ __('2FA Setup') }}

@if(auth('admin')->user()->two_factor_enabled) {{-- Disable Two-Factor Authentication --}}
{{ __('Disable Two-Factor Authentication (2FA)') }}

{{ __('Two-Factor Authentication (2FA) adds an extra layer of security by requiring a one-time verification code from your authenticator app during login.') }}

{{ __('Disabling 2FA will remove this additional security measure, making your account more vulnerable to unauthorized access.') }}

{{-- Disable 2FA Form --}}
@csrf
@else {{-- Enable Two-Factor Authentication --}}
{{ __('Enable Two-Factor Authentication (2FA)') }}

{{ __('Enhance your account security by enabling Two-Factor Authentication (2FA). This ensures that only you can access your account, even if your password is compromised.') }}

{{ __('Follow these steps to enable 2FA on your account:') }}

{{-- QR Code & Instructions --}}
{{-- QR Code --}}
{{ __('QR Code for Google Authenticator') }}
{{-- Instructions --}}
{{ __('Set Up Your Authenticator App') }}
  • {{ __('Step 1: Download the Google Authenticator app from the Google Play Store or Apple App Store.') }}
  • {{ __('Step 2: Scan the QR code above using your Google Authenticator app, or enter the key manually.') }}
  • {{ __('Account Name:') }} {{ setting('site_title') }}
  • {{ __('Secret Key:') }} {{ $secret }}
{{-- Verification Form --}}
{{ __('Verify and Activate 2FA') }}

{{ __('Enter the 6-digit verification code generated by your Google Authenticator app to complete the setup.') }}

@csrf
@endif