{!-- /** * JCOGS OTP Pro - Pattern 2: Separate OTP Page (Validation) * ========================================================== * * Second step in two-template login process. Dedicated OTP validation page * where users enter their authentication code after successful credential * validation. * * Features: * - Dedicated page for OTP entry * - Clear context about authentication process * - Remember device option (30-day cookie) * - Backup code support * - Back to login link * * Template Group: jcogs_otp_pro_examples * Default Success URL: /jcogs_otp_pro_examples/user_otp_settings * Login Template: /jcogs_otp_pro_examples/pattern2_login * CSS/JS Path: __CSS_JS_PATH__ (replaced during installation) * * @category ExpressionEngine Template * @package JCOGS OTP Pro * @author JCOGS Design * @copyright 2026 JCOGS Design * @license https://jcogs.net/add-ons/license/jcogs_otp_pro * @version 2.0.4 * @link https://JCOGS.net/ */ --} Pattern 2: OTP Validation

Pattern 2: Separate OTP Page (Validation)

This is the second template in the Pattern 2 workflow. Users arrive here after successfully validating their username and password on the login page. This dedicated page focuses solely on OTP validation.

Features:

  • Dedicated page for OTP entry
  • Clear context about the authentication process
  • Remember device option (30-day cookie)
  • Backup code support
  • Back to login link
{exp:jcogs_otp_pro:dialog return="/jcogs_otp_pro_examples/user_otp_settings"}

Implementation Notes

  • Dedicated Page: Clear focus on OTP validation task
  • User Context: Shows who is logging in for security
  • Multiple Options: Primary OTP or backup codes
  • Security Features: Attempt warnings, device remembering
  • Best For: High-security applications, complex 2FA workflows