Hello {{ $user->userDetail->first_name ?? $user->userDetail->username ?? 'User' }},
@if($code === '2FA_ENABLED')Congratulations! Two-factor authentication has been successfully enabled on your account.
Your account is now protected with an additional layer of security.
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.
Your account no longer has two-factor authentication protection.
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.
@elseYour two-factor authentication verification code is:
This code will expire in {{ $expiresAt->diffInMinutes(now()) }} minutes.
If you didn't request this code, you can safely ignore this email.
@endifIf you're having trouble with the code, you can: