{% extends 'layout.html' %}
{% from "security/_macros.html" import render_field_with_errors %}
{% block content %}
Passkeys
Sign in without a password using your device, fingerprint, or security key
{% include "security/_messages.html" %}
{% if credential_options %}
Complete registration on your device
Follow the prompts from your browser
{% else %}
{% if registered_credentials %}
{% for cred in registered_credentials %}
{{ cred.name }}
{{ 'Passwordless' if cred.usage == 'primary' else 'Multi-factor' }} ยท Last used {{ cred.last_use }}
{% if not loop.last %}{% endif %}
{% endfor %}
{% else %}
No passkeys registered yet
Add a passkey to sign in without a password
{% endif %}
{% if wan_register_form.errors %}
{% for field, errors in wan_register_form.errors.items() %}
{% for error in errors %}
{{ error }}
{% endfor %}
{% endfor %}
{% endif %}
{% endif %}
Back to 2FA Settings
{% endblock %}
{% block js %}
{% endblock %}