Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update jquery to 3.7.1 #219

Merged
merged 1 commit into from
Apr 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/keymasterd/adminHandlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func (state *RuntimeState) usersHandler(w http.ResponseWriter,
return
}
JSSources := []string{
"/static/jquery-3.6.4.min.js",
"/static/jquery-3.7.1.min.js",
"/static/compiled/session.js",
}
displayData := usersPageTemplateData{
Expand Down
4 changes: 2 additions & 2 deletions cmd/keymasterd/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ func (state *RuntimeState) checkPasswordAttemptLimit(w http.ResponseWriter,
func (state *RuntimeState) writeHTML2FAAuthPage(w http.ResponseWriter,
r *http.Request, loginDestination string, tryShowU2f bool,
showBootstrapOTP bool) error {
JSSources := []string{"/static/jquery-3.6.4.min.js", "/static/u2f-api.js"}
JSSources := []string{"/static/jquery-3.7.1.min.js", "/static/u2f-api.js"}
showU2F := browserSupportsU2F(r) && tryShowU2f
if showU2F {
JSSources = append(JSSources, "/static/webui-2fa-u2f.js")
Expand Down Expand Up @@ -1442,7 +1442,7 @@ func (state *RuntimeState) profileHandler(w http.ResponseWriter, r *http.Request
readOnlyMsg = "The active keymaster is running disconnected from its DB backend. All token operations execpt for Authentication cannot proceed."
}
JSSources := []string{
"/static/jquery-3.6.4.min.js",
"/static/jquery-3.7.1.min.js",
"/static/compiled/session.js",
}
showU2F := browserSupportsU2F(r)
Expand Down
2 changes: 0 additions & 2 deletions cmd/keymasterd/static_files/jquery-3.6.4.min.js

This file was deleted.

2 changes: 2 additions & 0 deletions cmd/keymasterd/static_files/jquery-3.7.1.min.js

Large diffs are not rendered by default.

Loading