forgejo/modules/context
KN4CK3R 4f4fea734c
Unify two factor check (#27915)
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.
2023-11-06 08:22:39 +00:00
..
access_log.go
api.go Unify two factor check (#27915) 2023-11-06 08:22:39 +00:00
api_org.go
api_test.go
base.go
captcha.go
context.go Clean up template locale usage (#27856) 2023-10-31 22:11:48 +08:00
context_cookie.go Enhanced auth token / remember me (#27606) 2023-10-14 00:56:41 +00:00
context_model.go
context_request.go
context_response.go
context_template.go
context_test.go
csrf.go
org.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
package.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
pagination.go
permission.go
private.go
repo.go Final round of db.DefaultContext refactor (#27587) 2023-10-14 08:37:24 +00:00
response.go
utils.go
xsrf.go
xsrf_test.go