{% import "macros/alerts.html" as alerts %} {% import "macros/buttons.html" as buttons %} {% import "macros/forms.html" as forms %} {% import "macros/modal.html" as modal %} {% import "macros/icons.html" as icons %} {% extends "admin/users/list.html" %} {% block head_title_content %}{{ user.email }} ยท {{ super() }}{% endblock %} {% set open_modal = true %} {% block modal %} {% call modal.header() %} {% call modal.title() %}Create an access token{% endcall %} {% endcall %} {% call modal.body() %} {% call alerts.warning() %} Treat this access token with extreme care: it gives access to a user account. Don't save it in a file and don't share it online. {% endcall %}
{{ buttons.clipboard(access_token | trim) }}
{{ access_token | trim }}
It will expire in {{ expires_in }} seconds.
{% endcall %} {% call modal.footer() %} {% endcall %} {% endblock %}