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.
gitea/modules/context
Giteabot a8e505a44b
Unify two factor check (#27915) (#27929)
Backport #27915 by @KN4CK3R

Fixes #27819

We have support for two factor logins with the normal web login and with
basic auth. For basic auth the two factor check was implemented at three
different places and you need to know that this check is necessary. This
PR moves the check into the basic auth itself.

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
1 year ago
..
access_log.go Replace `interface{}` with `any` (#25686) 2 years ago
api.go Unify two factor check (#27915) (#27929) 1 year ago
api_org.go Implement FSFE REUSE for golang files (#21840) 2 years ago
api_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
base.go Introduce ctx.PathParamRaw to avoid incorrect unescaping (#26392) 2 years ago
captcha.go Replace `interface{}` with `any` (#25686) 2 years ago
context.go Clean up template locale usage (#27856) (#27857) 1 year ago
context_cookie.go Improve Gitea's web context, decouple "issue template" code into service package (#24590) 2 years ago
context_model.go Improve Gitea's web context, decouple "issue template" code into service package (#24590) 2 years ago
context_request.go Decouple the different contexts from each other (#24786) 2 years ago
context_response.go Start using template context function (#26254) 2 years ago
context_template.go Start using template context function (#26254) 2 years ago
context_test.go Use standard HTTP library to serve files (#24693) 2 years ago
csrf.go Refactor cookie (#24107) 2 years ago
org.go Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
package.go Make web context initialize correctly for different cases (#26726) 1 year ago
pagination.go Replace `interface{}` with `any` (#25686) 2 years ago
permission.go Add context parameter to some database functions (#26055) 2 years ago
private.go Replace `interface{}` with `any` (#25686) 2 years ago
repo.go Add support for HEAD ref in /src/branch and /src/commit routes (#27384) (#27407) 1 year ago
response.go Refactor web package and context package (#25298) 2 years ago
utils.go Avoid double-unescaping of form value (#26853) 1 year ago
xsrf.go Update gitea-vet to check FSFE REUSE (#22004) 2 years ago
xsrf_test.go Update gitea-vet to check FSFE REUSE (#22004) 2 years ago