{% extends "auth_layout.html" %} {# Register a passkey without a session: from an administrator's registration link (kind "link") or to accept a passkey-only invitation (kind "invitation"). Once done, the recovery codes are shown once and the user signs in with the passkey. #} {% block title %}{% if kind == "invitation" %}Accept Invitation{% else %}Register a Passkey{% endif %}{% endblock %} {% block heading %}{% if kind == "invitation" %}Accept your invitation{% else %}Register a passkey{% endif %}{% endblock %} {% block content %} {% if done %}

{% if kind == "invitation" %}Your invitation is accepted and your passkey is registered.{% else %}Your passkey is registered.{% endif %} Sign in with it from the sign-in page.

{% if recovery_codes %}{% include "_recovery_codes.html" %}{% endif %} {% if recovery_codes %}I have saved my codes, sign in{% else %}Sign in{% endif %} {% elif token %}

{% if kind == "invitation" %}You have been invited to Spark, and you sign in with a passkey. Register one on this device to accept.{% else %}Register a passkey on this device to sign in to Spark with it.{% endif %} Your device asks you to confirm it is you, with a fingerprint, face or PIN.

{% if kind == "invitation" %}{% endif %}
{% endif %} {% endblock %}