forked from authentricity/authentricity
webui: fix portal redirect when using webauthn
This commit is contained in:
parent
80c9892b0b
commit
9c94c71435
|
@ -130,6 +130,7 @@
|
||||||
<form method="POST" action="/login/webauthn-discovered" id="sk-login-form" data-req="{{.WA.Request}}">
|
<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="session" value="{{.WA.Session}}">
|
||||||
<input type="hidden" name="response">
|
<input type="hidden" name="response">
|
||||||
|
{{if .Next}}<input type="hidden" name="next" value="{{.Next}}">{{end}}
|
||||||
{{.CSRFField}}
|
{{.CSRFField}}
|
||||||
<button name="login" type="button" class="btn btn-primary" style="display: none">
|
<button name="login" type="button" class="btn btn-primary" style="display: none">
|
||||||
<i class="bi bi-key-fill"></i>Login with Security Key
|
<i class="bi bi-key-fill"></i>Login with Security Key
|
||||||
|
|
Loading…
Reference in a new issue