{% if user and user.is_staff %}
{% blocktrans trimmed asvar p1 with api_token=user.auth_token.key %}
API Token: {{ api_token }}
{% endblocktrans %}
{% trans "The API token will allow you to authorize external applications to access the site as staff." as p2 %}
{% include "components/explainer-card.html" with type="info" %}
{% endif %}