1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-05 01:34:25 +00:00
gitea/routers/api
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
..
actions Fix/upload artifact error windows (#27802) (#27840) 2023-10-30 11:57:48 +00:00
packages Do not force creation of _cargo-index repo on publish (#27266) (#27765) 2023-10-24 15:40:02 +08:00
v1 Unify two factor check (#27915) (#27929) 2023-11-06 18:07:22 +00:00