{# Account and sessions page (spec section 10.2). Context: user AuthUser -- email, display_name, roles sessions Sequence[SessionSummary] logout_url str -- POST target, default "logout" logout_all_url str -- POST target, default "logout-all" revoke_session_url str -- POST target for one session; the row posts the session id in a hidden `session_id` field. The revoke column is omitted when this is absent. show_logout_all bool -- mirrors features.logout_all_enabled; the "sign out everywhere" form renders unless this is passed and falsy error str -- optional banner notice str -- optional confirmation banner Nothing here renders a token: SessionSummary carries no credential material. #} {% extends "base.html" %} {% block page_title %}{{ title }} · Account{% endblock %} {% block card_class %}fa-card fa-card--wide{% endblock %} {% block heading %}Your account{% endblock %} {% block subheading %}{% endblock %} {% block content %} {% if error %}
{{ error }}
{% endif %} {% if notice %}{{ notice }}
{% endif %}| Device | Signed in | Last used | {% if revoke_session_url %}Actions | {% endif %}
|---|---|---|---|
| {{ session.user_agent_label or "Unknown device" }} {% if session.is_current %} This device {% endif %} | {% if revoke_session_url %} | {% if session.is_current %} Current {% else %} {% endif %} | {% endif %}
No active sessions.
{% endif %}