You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/routers
Gusted 0d3d9675c6
Fix middleware function's placements for some `/user/...` (#19377)
- Add reqSignIn to `/user/task/{task}` as it specific to a logged in user currently not-logged in user could cause a NPE.
- Move `/user/stopwatch` & `/user/search` middleware before the actual function is called, because functions are executed in order and currently hadn't any effect and could as well cause a NPE due to that.
- Remove `/user/active` reqSignIn middleware, because when you want to active a account you're not "signed in" so it doesn't make sense to add that middleware.
2 years ago
..
api Fix panic in teams API when requesting members (#19360) 2 years ago
common Add Goroutine stack inspector to admin/monitor (#19207) 2 years ago
install Skip frontend ROOT_URL check on installation page, remove unnecessary global var (#19291) 2 years ago
private Remove `git.Command.Run` and `git.Command.RunInDir*` (#19280) 2 years ago
utils A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
web Fix middleware function's placements for some `/user/...` (#19377) 2 years ago
init.go Remove dependent on session auth for api/v1 routers (#19321) 2 years ago