Commit f3fd32c0 authored by ale's avatar ale

Fix URLs for flipping between otp/u2f

parent 72395351
Pipeline #6127 passed with stages
in 3 minutes and 40 seconds
......@@ -29,7 +29,7 @@
{{if .AuthResponse.Has2FAMethod "u2f"}}
<p>
<a href="{{.URLPrefix}}/login?2fa=u2f">
<a href="{{.URLPrefix}}/login/u2f">
Use a hardware token instead.
</a>
</p>
......
......@@ -31,7 +31,7 @@
{{if .AuthResponse.Has2FAMethod "otp"}}
<p>
<a href="{{.URLPrefix}}/login?2fa=otp">
<a href="{{.URLPrefix}}/login/otp">
Use a numeric one-time token instead.
</a>
</p>
......
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