{% extends "base.html" %} {% load compress static hc_extras %} {% block title %}Account Settings - {{ site_name }}{% endblock %} {% block content %}

Settings {{ request.user.email }}

{% if messages %}
{% for message in messages %}

{{ message }}

{% endfor %}
{% endif %}
{% csrf_token %}

Two-factor Authentication

{% if use_webauthn %} {% for credential in credentials %} {% empty %} {% endfor %} {% endif %} {% if profile.totp %} {% else %} {% endif %}
Security keys
{{ credential.name|default:"unnamed" }} – registered on {{ credential.created|date:"M j, Y" }} Remove
No registered security keys
Authenticator app
Enabled – configured on {{ profile.totp_created|date:"M j, Y" }} Remove
Not configured
{% if credentials|length == 1 and not profile.totp %}

The key "{% for c in credentials%}{{ c.name }}{% endfor %}" is currently your only second factor. If you lose this key, or it stops working, you will lose access to your {% site_name %} account.

Register a second security key, to be used as a backup second factor.

{% endif %} {% if not credentials and profile.totp %}

The Authenticator app is currently your only second factor. If you lose access to it, you will lose access to your {% site_name %} account.

Make sure you have a backup of the Authenticator app's TOTP seed{% if use_webauthn %}, or register a Security Key to be used as a backup second factor{% endif %}.

{% endif %} {% if not credentials and not profile.totp %}

Two-factor authentication is currently inactive. Your account does not have any configured two-factor authentication methods.

{% endif %}
{% if not profile.totp %} Set Up Authenticator App {% endif %} {% if use_webauthn %} Add Security Key {% endif %}
{% if added_credential_name %} {% endif %} {% if removed_credential_name %} {% endif %} {% if enabled_totp %} {% endif %} {% if disabled_totp %} {% endif %}
{% csrf_token %}

My Projects

{% if ownerships or memberships %} {% for project in ownerships %} {% endfor %} {% for m in memberships %} {% endfor %}
Project My role
Owner Settings
{{ m.get_role_display }} Leave
{% else %}

You do not have any projects. Create one!

{% endif %} Create a New Project
{% if left_project %} {% endif %}
{% csrf_token %}

Close Account

This will permanently remove your {{ site_name }} account.

{% include "accounts/add_project_modal.html" %} {% endblock %} {% block scripts %} {% compress js %} {% endcompress %} {% endblock %}