Commit b3cd8da3 authored by ale's avatar ale

Fix submission URLs for 2FA login forms

parent a714fb79
{{template "header" .}}
<form class="form-signin" action="{{.URLPrefix}}/login" method="post">
<form class="form-signin" action="{{.URLPrefix}}/login/otp" method="post">
{{.CSRFField}}
<div class="row no-gutters">
......
{{template "header" .}}
<form class="form-signin" id="u2fForm" action="{{.URLPrefix}}/login" method="post">
<form class="form-signin" id="u2fForm" action="{{.URLPrefix}}/login/u2f" method="post">
{{.CSRFField}}
<input type="hidden" id="u2fResponseField" name="u2f_response" value="">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment