{!-- /** * JCOGS OTP Pro - User Preference: OTP Settings Management * ========================================================= * * Central dashboard for managing all OTP settings. Displays current status, * provides links to enable/disable OTP, change delivery methods, view trusted * devices, and manage backup codes. * * Features: * - OTP status display (enabled/disabled) * - Delivery method information * - Quick access to setup/disable forms * - Delivery method switcher * - Trusted devices management link * - Backup codes status * * Template Group: jcogs_otp_pro_examples * Navigation: Back link to /jcogs_otp_pro_examples/index * 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/ */ --} OTP Security Settings - JCOGS OTP Pro

🔐 OTP Security Settings

Manage your one-time password authentication and trusted devices

{!-- Section 1: OTP Status --}

OTP Status

Current state of your two-factor authentication

{exp:jcogs_otp_pro:status} {if otp_enabled == 'y'}✓ Enabled{if:else}✗ Disabled{/if} {/exp:jcogs_otp_pro:status}
{exp:jcogs_otp_pro:status} {if otp_enabled == 'y'}
Your account is protected with two-factor authentication.
Delivery Method
{delivery_method_display}
Enabled Since
{enabled_date}
Last Validated
{last_validated_relative}
{if backup_codes_count}
Backup Codes
{backup_codes_count} available
{/if}
{if:else}
Two-factor authentication is not enabled.

Enable OTP to add an extra layer of security to your account.

Enable OTP → {/if} {/exp:jcogs_otp_pro:status}
{!-- Section 2: Delivery Methods --}

Delivery Method

Choose how you receive your one-time passwords

{exp:jcogs_otp_pro:delivery_methods}
Current Method: {current_method_name}
{providers}

{name}

{description}

{if is_current == 'y'} ✓ Currently Active {if:else} {form_open} {method_input} {transport_input} {payload_input} {form_close} {/if}
{/providers}
{/exp:jcogs_otp_pro:delivery_methods}
{!-- Section 3: Trusted Devices --}

Trusted Devices

Devices that can skip OTP verification for a limited time

{exp:jcogs_otp_pro:trusted_devices} {if has_devices == 'y'}
{total_count} trusted {if total_count == '1'}device{if:else}devices{/if}
{!-- Show first 3 devices --} {devices limit="3"}

{device_name} {if is_current_device == 'y'}(Current){/if}

Last used: {last_used_formatted}
Expires: {expires_at_formatted}

{if can_revoke == 'y'} {revoke_form_open} {device_id_input} {revoke_form_close} {/if}
{/devices} {if:else}
No trusted devices

Check "Trust this device" during login to skip OTP verification on this device for 30 days.

{/if} {/exp:jcogs_otp_pro:trusted_devices}
Manage Trusted Devices →
{!-- Section 4: Disable OTP --} {exp:jcogs_otp_pro:status} {if otp_enabled == 'y'}

Disable OTP

Turn off two-factor authentication for your account

⚠️ Warning: Disabling OTP will reduce your account security. You'll only need your password to log in.
Disable Two-Factor Authentication
{/if} {/exp:jcogs_otp_pro:status}