{% 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 %}
{% else %} Login {% endif %} {% endblock content %}