{% extends "base.html" %} {% from "components/ui.html" import action, anywhere_tag, csrf_field, danger_card, empty with context %} {% from "components/grants.html" import grant_editor, grants_of, role_checks, role_tags %} {% block title %}{{ user.name }} · {{ APP_NAME }}{% endblock %} {% block heading %}{{ user.name }}{% endblock %} {% block subheading %}
Copy it now. Only its hash is kept. It cannot be shown again.
{{ new_token }}
| Account | May | Sending |
|---|---|---|
| {{ row.email }}{% for warning in row.warnings %}{{ anywhere_tag() }}{% endfor %} | {% for group in row.groups %}{{ group }} {% endfor %}{% for operation in row.operations %}{{ operation }} {% endfor %} |
{% for limit in row.sending %}
{% if limit.recipients is none %}to anyone{% else %}to {{ limit.recipients | join(", ") }}{% endif %}, {% if limit.max_per_day is none %}no daily limit{% else %}at most {{ limit.max_per_day }} a day{% endif %}
{% else %}—{% endfor %}
|
No rights on any account you can see.
{% endif %}| Name | Created | Expires | Last used | State | |
|---|---|---|---|---|---|
| {{ token.name }}{{ token.id[:16] }}… | {{ token.created_at | when }} | {{ token.expires_at | when }} | {{ token.last_used_at | when }} | {% if state == "active" %}active{% else %}{{ state }}{% endif %} | {% if can_revoke and state == "active" %}{{ action("/ui/users/" ~ user.id ~ "/tokens/" ~ token.id ~ "/revoke", "Revoke", confirm="Revoke the token " ~ token.name ~ "? Whoever uses it is locked out at once.", cls="small danger") }}{% endif %} |