@extends('layouts.app') @section('title', '2FA Settings - ' . config('app.name', 'Laravel 2FA')) @section('content')

@if ($user->is_2fa_enabled) 2FA Settings @else Setup 2FA @endif

@if ($user->is_2fa_enabled) Manage your two-factor authentication @else Enhance your account security @endif

Setup Instructions

Click "Setup 2FA" to generate a new QR code. Scan it with your authenticator app (Google Authenticator, Authy, etc.) and then enter the 6-digit code to confirm setup.

@if ($user->is_2fa_enabled)

2FA is Active

Your account is protected with two-factor authentication

Regenerate QR Code

Generate a new QR code for a different device or app

@csrf

Disable 2FA

Remove two-factor authentication from your account

Disable 2FA
@else

What happens next?

  • • Generate a unique 2FA secret
  • • Create a QR code for your app
  • • Verify with a 6-digit code
@csrf
@endif
@endsection