webui: fix portal redirect when using webauthn

This commit is contained in:
Stephanie Wilde-Hobbs 2024-05-30 16:04:54 +01:00
parent 80c9892b0b
commit 9c94c71435

View file

@ -130,6 +130,7 @@
<form method="POST" action="/login/webauthn-discovered" id="sk-login-form" data-req="{{.WA.Request}}">
<input type="hidden" name="session" value="{{.WA.Session}}">
<input type="hidden" name="response">
{{if .Next}}<input type="hidden" name="next" value="{{.Next}}">{{end}}
{{.CSRFField}}
<button name="login" type="button" class="btn btn-primary" style="display: none">
<i class="bi bi-key-fill"></i>Login with Security Key