Two-Factor Authentication Code

Hello {{ $user->userDetail->first_name ?? $user->userDetail->username ?? 'User' }},

@if($code === '2FA_ENABLED')

Congratulations! Two-factor authentication has been successfully enabled on your account.

✅ Security Enhanced

Your account is now protected with an additional layer of security.

What's been enabled:

Important: Make sure you save your recovery codes in a safe place. You can use them if you lose access to your authenticator app.

If you didn't enable 2FA, please contact support immediately.

@elseif($code === '2FA_DISABLED')

Two-factor authentication has been disabled on your account.

⚠️ Security Level Changed

Your account no longer has two-factor authentication protection.

What's been disabled:

Security Note: Your account is now less secure. Consider re-enabling 2FA to protect your account from unauthorized access.

If you didn't disable 2FA, please contact support immediately and consider changing your password.

@else

Your two-factor authentication verification code is:

{{ $code }}

This code will expire in {{ $expiresAt->diffInMinutes(now()) }} minutes.

If you didn't request this code, you can safely ignore this email.

@endif
⏰ This code will expire in 10 minutes at {{ $expiresAt->format('g:i A') }}.

📋 Instructions:

  1. Enter the 6-digit code above in your application
  2. The code is case-insensitive
  3. Do not share this code with anyone
  4. If you didn't request this code, please ignore this email
🔒 Security Notice:
If you didn't request this verification code, please secure your account immediately by changing your password and enabling additional security measures.

If you're having trouble with the code, you can: