{% extends "wagtail_mfa/base_admin.html" %} {% load i18n wagtailadmin_tags %} {% block titletag %} {% trans "Registered MFA devices" %} {% endblock %} {% block content %} {% trans "Multi Factor Authentication Settings" as header_label %} {% trans "Manage your authentication settings" as description_label %} {% include "wagtailadmin/shared/header.html" with title=header_label description=description_label %} {% trans "(unnamed device)" as unlabeled_device_str %}

{% trans "Passkeys" %}

{% if webauthn_devices %}

{% blocktrans trimmed %} Passkeys allow you to verify your identity using touch, facial recognition, a device password, or a PIN. They can be used for sign-in as a simple and secure alternative to your password and two-factor credentials. {% endblocktrans %}

{% endif %}
{% if webauthn_devices %}
    {% for device in webauthn_devices %}
  • {% if device.name %} {{ device.name }} {% else %} {{ unlabeled_device_str }} {% endif %} {% if device.backup_state %} {% translate "Synced" %} {% endif %}
    {% blocktrans with created_at_date=device.created_at|date:"DATE_FORMAT" trimmed %} Added on {{ created_at_date }}. {% endblocktrans %} {% if device.last_used_at %} {# Translators: last_used_at_naturaltime is in natural language. Like 'last used 12 minutes ago' or 'last used two weeks ago' #} {% blocktrans with last_used_at_naturaltime=device.last_used_at|timesince_simple trimmed %} Last used: {{ last_used_at_naturaltime }} {% endblocktrans %} {% else %} {% trans "Last used: never" %} {% endif %}
    {% blocktrans with device_name=device.name|default:unlabeled_device_str trimmed %}Passkey {{ device_name }}{% endblocktrans %} {% translate "Edit" context "verb, action" %} {% translate "Delete" context "verb, action" %}
  • {% endfor %}
{% else %}

{% trans "Authenticate with Passkeys" %}

{% blocktrans trimmed %} Passkeys allow you to verify your identity using touch, facial recognition, a device password, or a PIN. They can be used for sign-in as a simple and secure alternative to your password and two-factor credentials. {% endblocktrans %}

{% trans "Get started with Passkeys" %}
{% endif %}
{% endblock %}