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 @@ ...@@ -29,7 +29,7 @@
{{if .AuthResponse.Has2FAMethod "u2f"}} {{if .AuthResponse.Has2FAMethod "u2f"}}
<p> <p>
<a href="{{.URLPrefix}}/login?2fa=u2f"> <a href="{{.URLPrefix}}/login/u2f">
Use a hardware token instead. Use a hardware token instead.
</a> </a>
</p> </p>
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
{{if .AuthResponse.Has2FAMethod "otp"}} {{if .AuthResponse.Has2FAMethod "otp"}}
<p> <p>
<a href="{{.URLPrefix}}/login?2fa=otp"> <a href="{{.URLPrefix}}/login/otp">
Use a numeric one-time token instead. Use a numeric one-time token instead.
</a> </a>
</p> </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