{% extends "layout.html" %} {% set title = "Account" %} {% block content %}

{{ user.name }} {{ user.id }} · {{ user.role }}

Passkeys

Keep at least two (e.g. laptop and phone), so losing one device doesn't lock you out. If you lose them all, an admin can send you a new link, or run blog invite --user {{ user.id }} on the server.

{% if link %}

Open this link on the device that should get the passkey. It works once, for 30 minutes.

Use it here
{% endif %} {% for p in user.passkeys %} {% else %} {% endfor %}
NameAddedLast used
{{ p.name }} {{ p.created | datetime }} {{ p.last_used | datetime if p.last_used else "never" }} {% if user.passkeys | length > 1 %}
{% endif %}
No passkeys{% if no_auth %} (dev mode signs you in without one){% endif %}.
{% if not no_auth %}
{% endif %} {% endblock %}