forgejo/modules/context
Giteabot e2620642bd
Prevent anonymous container access if RequireSignInView is enabled (#28877) (#28882)
Backport #28877 by @KN4CK3R

Fixes #28875

If `RequireSignInView` is enabled, the ghost user has no access rights.

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
(cherry picked from commit b7c944b9e4)
2024-01-31 14:18:25 +01:00
..
access_log.go
api.go Unify two factor check (#27915) (#27929) 2023-11-06 18:07:22 +00:00
api_org.go
api_test.go
base.go Introduce ctx.PathParamRaw to avoid incorrect unescaping (#26392) 2023-08-09 14:57:45 +08:00
captcha.go
context.go Clean up template locale usage (#27856) (#27857) 2023-10-31 17:35:55 +01:00
context_cookie.go [GITEA] rework long-term authentication 2024-01-16 14:14:46 +00:00
context_model.go
context_request.go
context_response.go Start using template context function (#26254) 2023-08-08 01:22:47 +00:00
context_template.go Start using template context function (#26254) 2023-08-08 01:22:47 +00:00
context_test.go
csrf.go
org.go Another round of db.DefaultContext refactor (#27103) (#27262) 2023-09-25 19:24:35 +02:00
package.go Prevent anonymous container access if RequireSignInView is enabled (#28877) (#28882) 2024-01-31 14:18:25 +01:00
pagination.go
permission.go Add context parameter to some database functions (#26055) 2023-07-22 22:14:27 +08:00
private.go
repo.go Add guide page to actions when there's no workflows (#28145) (#28153) 2023-11-22 17:12:12 +01:00
response.go
utils.go Avoid double-unescaping of form value (#26853) 2023-09-01 12:01:36 +00:00
xsrf.go
xsrf_test.go