Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
id
go-sso
Commits
f3fd32c0
Commit
f3fd32c0
authored
Mar 14, 2020
by
ale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix URLs for flipping between otp/u2f
parent
72395351
Pipeline
#6127
passed with stages
in 3 minutes and 40 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
server/templates/login_otp.html
server/templates/login_otp.html
+1
-1
server/templates/login_u2f.html
server/templates/login_u2f.html
+1
-1
No files found.
server/templates/login_otp.html
View file @
f3fd32c0
...
...
@@ -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>
...
...
server/templates/login_u2f.html
View file @
f3fd32c0
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment