{% extends 'base.html' %} {% load static %} {% block title %}Remove 2FA Device - Account Security{% endblock %} {% block content %}
Device Removal Confirmation
{% if object.device_type == 'authenticator' %} {% elif object.device_type == 'hardware_key' %} {% elif object.device_type == 'sms' %} {% else %} {% endif %}
{{ object.name|default:"Google Authenticator" }}
Device Type:
{% if object.device_type == 'authenticator' %} Mobile App {% elif object.device_type == 'hardware_key' %} Hardware Key {% elif object.device_type == 'sms' %} SMS {% endif %}
Status:
{% if object.is_active %} Active {% else %} Inactive {% endif %}
Added:
{{ object.created_at|default:"Jan 15, 2024"|date:"M d, Y" }}
Last Used:
{{ object.last_used_at|default:"Today 09:30 AM"|date:"M d, Y g:i A" }}
Impact of Removing This Device
Reduced Security

Your account will have fewer authentication factors, making it more vulnerable.

Backup Access

You'll lose this device as a backup authentication method.

Usage History

All usage history for this device will be preserved for audit purposes.

Recovery

You can re-add this device type later if needed.

Security Verification
Remaining 2FA Devices: {{ remaining_devices_count|default:2 }} device(s) {% if remaining_devices_count == 0 %}
Warning: This is your last 2FA device. Removing it will disable 2FA on your account.
{% endif %}
Backup Codes: {% if has_backup_codes %} Available
You have backup codes that can be used for account recovery.
{% else %} Not Generated
Consider generating backup codes before removing this device.
{% endif %}
{% csrf_token %}
Cancel
{% if remaining_devices_count > 0 %} {% endif %}
Alternative Actions
Temporarily Disable

Disable the device without removing it completely. You can reactivate it later.

Reset Configuration

Reset the device configuration while keeping the device registered.

{% endblock %}