0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-03-01 01:06:55 -05:00
forgejo/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
admin fix Missing 404 swagger response docs for /admin/users/{username} (#26086) (#26089) 2023-07-24 12:07:39 +02:00
misc
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
repo Fix some slice append usages (#26778) (#26798) 2023-08-29 16:13:24 +00:00
settings
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
api.go Unify two factor check (#27915) (#27939) 2023-11-06 23:06:21 +01:00
auth.go
auth_windows.go