{!-- /** * JCOGS OTP Pro - User Preference: Disable OTP * ============================================= * * Form for disabling two-factor authentication. Requires password confirmation * and displays security warnings about reduced account protection. * * Features: * - Password confirmation required * - Security warning display * - Clear explanation of consequences * - Success confirmation after disable * - Option to re-enable immediately * * Template Group: jcogs_otp_pro_examples * Return URL: /jcogs_otp_pro_examples/user_disable_otp (shows success) * Settings Page: /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 * @copyright 2026 JCOGS Design * @license https://jcogs.net/add-ons/license/jcogs_otp_pro * @version 2.0.4 * @link https://JCOGS.net/ */ --} Disable Two-Factor Authentication - JCOGS OTP Pro

🔓 Disable Two-Factor Authentication

Remove OTP protection from your account

{!-- Check if user just disabled OTP successfully --} {exp:jcogs_otp_pro:status} {if otp_enabled != 'y'}
✓ Two-factor authentication has been disabled

Your account now uses password-only authentication.

Return to Settings or Enable OTP Again
← Back to Settings
{if:else} {!-- OTP is enabled, show disable form --} {exp:jcogs_otp_pro:disable_form require_password="y" show_warning="y"} {form_open} {if show_warning}
⚠️ Security Warning

Disabling two-factor authentication will make your account less secure. You will no longer need verification codes to log in.

This action will:
  • Remove OTP requirement from your account
  • Revoke all trusted devices
  • Delete all backup codes
{/if} {if errors}
{errors}

{error}

{/errors}
{/if} {if require_password}
Enter your password to confirm this action
{/if}
{form_close} {/exp:jcogs_otp_pro:disable_form}
← Cancel and Return to Settings
{/if} {/exp:jcogs_otp_pro:status}