kanidm/server/core/templates/login_webauthn.html
Firstyear b1480e36f0
20240703 htmx ()
Complete the remainder of the HTMX rewrite of the login page.
2024-07-07 03:36:47 +00:00

18 lines
490 B
HTML

(% extends "login_base.html" %)
(% block logincontainer %)
<script id="data" type="application/json">
(( chal|safe ))
</script>
<script src="/pkg/external/base64.js" async></script>
<script src="/pkg/external/pkhtml.js" defer></script>
(% if passkey %)
<button hx-disable type="button" class="btn btn-dark" id="start-passkey-button">Use Passkey</button>
(% else %)
<button type="button" class="btn btn-dark" id="start-seckey-button">Use Security Key</button>
(% endif %)
(% endblock %)