0
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-19 18:30:27 +01:00
forgejo/modules/context
John Olheiser 5e36024105
Require repo scope for PATs for private repos and basic authentication ()
> The scoped token PR just checked all API routes but in fact, some web
routes like `LFS`, git `HTTP`, container, and attachments supports basic
auth. This PR added scoped token check for them.

---------

Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-04-26 19:24:03 -05:00
..
access_log.go
api.go Fix wrong error info in RepoRefForAPI () 2023-04-26 04:14:35 -04:00
api_org.go
api_test.go
captcha.go
context.go Refactor setting.Other and remove unused SHOW_FOOTER_BRANDING () 2023-04-22 19:38:25 -04:00
csrf.go
form.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
org.go Add missing tabs to org projects page () 2023-03-10 09:18:20 -06:00
package.go
pagination.go
permission.go Require repo scope for PATs for private repos and basic authentication () 2023-04-26 19:24:03 -05:00
private.go
repo.go Refactor setting.Other and remove unused SHOW_FOOTER_BRANDING () 2023-04-22 19:38:25 -04:00
response.go
utils.go
xsrf.go
xsrf_test.go