{!--
/**
* JCOGS OTP Pro - User Preference: OTP Setup
* ===========================================
*
* Two-factor authentication enrollment form. Allows users to enable OTP
* using either authenticator app or email delivery method. Displays backup
* codes after successful setup.
*
* Features:
* - Choice between authenticator app or email
* - QR code generation for authenticator setup
* - Test email functionality
* - Backup code generation and display
* - Already-enabled state detection
*
* Template Group: jcogs_otp_pro_examples
* Return URL: /jcogs_otp_pro_examples/user_otp_settings
* CSS/JS Path: __CSS_JS_PATH__ (replaced during installation)
*
* @category ExpressionEngine Template
* @package JCOGS OTP Pro
* @author JCOGS Design Add an extra layer of security to your account Your account is already protected with two-factor authentication. Your account is now protected with 2FA. These codes can be used if you lose access to your authenticator. Save them in a secure location! Open your authenticator app (Google Authenticator, Authy, Microsoft Authenticator, etc.) and scan the QR code below: Enter the 6-digit code from your authenticator app (or email) to complete setup:Two-Factor Authentication Setup
⚠️ Save Your Backup Codes
{code}
{/backup_codes}
Choose Your Method
📱 Step 1: Scan QR Code
{secret}
🔐 Step 2: Verify Code