mirror of
https://github.com/kanidm/kanidm.git
synced 2025-06-15 04:27:45 +02:00
Post release some small user issues arose * Optimise the autofocus for logins with passkeys to limit clicks * Sort login mechs by strength * Fix cookies to persist between browser restarts
24 lines
572 B
HTML
24 lines
572 B
HTML
(% extends "login_base.html" %)
|
|
|
|
(% block logincontainer %)
|
|
<div class="container">
|
|
<p>Choose how to proceed:</p>
|
|
</div>
|
|
<div class="container">
|
|
<ul class="list-unstyled">
|
|
(% for mech in mechs %)
|
|
<li class="text-center mb-2">
|
|
<form id="login" action="/ui/login/mech_choose" method="post">
|
|
<input type="hidden" id="mech" name="mech" value="(( mech.value ))" />
|
|
<button
|
|
(% if mech.autofocus %)autofocus(% endif %)
|
|
type="submit"
|
|
class="btn btn-dark"
|
|
>(( mech.name ))</button>
|
|
</form>
|
|
</li>
|
|
(% endfor %)
|
|
</ul>
|
|
</div>
|
|
(% endblock %)
|