{% extends 'base.html' %} {% load i18n otp_webauthn %} {% block title %}Security index{% endblock title %} {% block content %}

Security index

{% if request.user.is_authenticated %}

{% blocktrans with username=request.user.username trimmed %}Hi {{ username }}!{% endblocktrans %}

{% translate "2FA verification status:" %} {% if 2fa_verified %} verified {% else %} not verified {% endif %} {% translate "Verify now" %}

{% render_otp_webauthn_register_scripts %}
{% csrf_token %}

{% trans "Registered Passkeys" %}

{% if passkeys %} {% include "sandbox/passkey_table.html" with object_list=passkeys %} {% else %}

{% translate "No registered Passkeys." %}

{% endif %} {% else %} Login {% endif %} {% endblock content %}