bastion 0.60.0
ci / personal-data (push) Successful in 4s
ci / test (push) Successful in 3m36s
ci / fuzz (push) Successful in 3m35s

This commit is contained in:
Privatae
2026-11-02 00:10:58 +00:00
parent 4a5c310482
commit 4f8285ef18
100 changed files with 11537 additions and 840 deletions
+2 -2
View File
@@ -129,9 +129,9 @@ func (u *uiServer) deviceRoutes(mux *http.ServeMux) {
mux.HandleFunc("/approvals", u.guarded(u.approvalsPage))
mux.HandleFunc("/fragments/approvals", u.guarded(u.approvalsFragment))
mux.HandleFunc("/fragments/approvals-news", u.guarded(u.approvalsNews))
mux.HandleFunc("/device/approve", u.guarded(u.deviceApproveOne))
mux.HandleFunc("/device/approve", u.adminOnly(u.deviceApproveOne))
mux.HandleFunc("/device/deny", u.guarded(u.deviceDenyOne))
mux.HandleFunc("/device/approve-shown", u.guarded(u.deviceApproveShown))
mux.HandleFunc("/device/approve-shown", u.adminOnly(u.deviceApproveShown))
}
func (u *uiServer) approvalsPage(w http.ResponseWriter, r *http.Request) {