{% 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 %}

Tip: add a second security key! It is a good practice to register at least two security keys and store them separately.

{% 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 profile.projects.exists %} {% for project in request.user.project_set.all %} {% endfor %} {% for m in request.user.memberships.all %} {% 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 %}