Files
jobboard/app/templates/settings/account.html
T

20 lines
865 B
HTML

{% extends "settings/_layout.html" %}
{% block title %}Account — roledesk{% endblock %}
{% block content %}
<h1>Account</h1>
<p class="lede">The one password, the devices signed in with it, the passkeys that sign in without it, and the API tokens a script sends instead.</p>
<section class="card">
{# As in Sources' Runs: the element and its script belong to
the module, so this page is two lines and `auth/` owns what they draw.
It says its own failures in place, beside the button that caused them,
and raises `auth-account:error` with the server's `detail` as well. No
toast is wired to that here on purpose: one failure said twice is worse
than one failure said once, and next to the form is where it belongs. #}
<script type="module" src="/_auth/account.js"></script>
<auth-account></auth-account>
</section>
{% endblock %}