gitea/routers/api/v1
KN4CK3R 00705da102
Unify two factor check (#27915) (#27939)
Backport of #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 23:06:21 +01:00
..
activitypub Use User.ID instead of User.Name in ActivityPub API for Person IRI (#23823) 2023-04-04 10:08:23 +08:00
admin fix Missing 404 swagger response docs for /admin/users/{username} (#26086) (#26089) 2023-07-24 12:07:39 +02:00
misc Add API for Label templates (#24602) 2023-05-23 18:10:23 +08:00
notify Fix bugs related to notification endpoints (#25548) (#25562) 2023-06-28 16:24:48 +00:00
org Fix organization field being null in POST /orgs/{orgid}/teams (#27150) (#27162) 2023-09-21 12:14:59 +02:00
packages Add CRAN package registry (#22331) 2023-05-22 10:57:49 +08:00
repo Fix some slice append usages (#26778) (#26798) 2023-08-29 16:13:24 +00:00
settings Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
swagger API endpoint for changing/creating/deleting multiple files (#24887) 2023-05-29 17:41:35 +08:00
user Replace `interface{}` with `any` (#25686) (#25687) 2023-07-04 23:41:32 -04:00
utils New webhook trigger for receiving Pull Request review requests (#24481) 2023-05-24 22:06:27 -04:00
api.go Unify two factor check (#27915) (#27939) 2023-11-06 23:06:21 +01:00
auth.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
auth_windows.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00