Skip to content
Snippets Groups Projects
Commit f3fd32c0 authored by ale's avatar ale
Browse files

Fix URLs for flipping between otp/u2f

parent 72395351
Branches
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment