forgejo/routers
Giteabot 6a66e8c748
Require token for GET subscription endpoint (#28765) (#28768)
Backport #28765 by @jackHay22

Fixes  #28756

## Changes
- Require and check API token for `GET
/repos/{owner}/{repo}/subscription` in order to populate `ctx.Doer`.

Co-authored-by: Jack Hay <jack@allspice.io>
(cherry picked from commit cb33623bb6)
2024-01-16 14:39:23 +00:00
..
api Require token for GET subscription endpoint (#28765) (#28768) 2024-01-16 14:39:23 +00:00
common Avoid cycle-redirecting user/login page (#28636) (#28658) 2024-01-16 14:11:44 +00:00
install [GITEA] rework long-term authentication 2024-01-16 14:14:46 +00:00
private [CLI] implement forgejo-cli 2023-11-13 11:52:15 +01:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web [GITEA] rework long-term authentication 2024-01-16 14:14:46 +00:00
init.go [API] Forgejo API /api/forgejo/v1 2023-11-13 12:33:48 +01:00