Files

11 lines
586 B
HTML

<!-- retoor <retoor@molodetz.nl> -->
{% extends "base.html" %}
{% block content %}
<header class="article-header"><span class="label">Account</span><h1>API key</h1></header>
<p class="muted">Use this key as an <code>X-API-KEY</code> header or as <code>Authorization: Bearer</code>. Renewing invalidates the old one immediately.</p>
<pre class="log-tail" data-copy>{{ api_key }}</pre>
<form method="post" action="/profile/api-key/regenerate" data-confirm="The current key will stop working. Continue?">
<button class="button danger" type="submit">Renew</button>
</form>
{% endblock %}