Skip to content

Commit

Permalink
Update jquery to 3.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
cviecco committed Apr 13, 2024
1 parent 4080b92 commit 02e93d2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
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.

0 comments on commit 02e93d2

Please sign in to comment.