1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-24 08:57:03 -05:00
forgejo/routers/api/v1
KN4CK3R 44df78edd4
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.

(cherry picked from commit 00705da102)
2023-11-14 13:17:12 +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-26 13:49:15 +02:00
misc [BRANDING] Update nodeinfo branding 2023-07-17 00:25:56 +02: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-10-03 14:48:08 +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-09-08 08:09:18 +02:00
settings Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
swagger [MODERATION] add user blocking API 2023-07-17 00:26:42 +02:00
user [MODERATION] add user blocking API 2023-07-17 00:26:42 +02:00
utils [MODERATION] add user blocking API 2023-07-17 00:26:42 +02:00
api.go Unify two factor check (#27915) (#27939) 2023-11-14 13:17:12 +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