{% extends "base.html" %} {% block title %}Admin — Users{% endblock %} {% block content %}

User Management

{% for u in users %} {% endfor %}
Email Role TOTP Status Joined Actions
{{ u.email }} {% if u.id == user.id %} (you){% endif %} {% if u.is_admin %}admin{% else %}user{% endif %} {% if u.totp_secret %}enabled{% else %}not set{% endif %} {% if u.suspended %}suspended{% else %}active{% endif %} {{ u.created_at.strftime('%Y-%m-%d') }} {% if u.id != user.id %}
{% endif %}
{% endblock %}