0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-15 23:18:17 +01:00
gitea/routers/api/v1
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>
2023-11-06 18:07:22 +00:00
..
activitypub
admin
misc
notify
org Delete repos of org when purge delete user (#27273) (#27728) 2023-11-01 10:03:12 +08:00
packages
repo
settings
swagger
user Delete repos of org when purge delete user (#27273) (#27728) 2023-11-01 10:03:12 +08:00
utils
api.go Unify two factor check (#27915) (#27929) 2023-11-06 18:07:22 +00:00