mirror of
1
Fork 0
forgejo/routers
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
..
api Unify two factor check (#27915) (#27939) 2023-11-14 13:17:12 +01:00
common [BRANDING] Use `forgejo` binary name 2023-07-17 00:25:56 +02:00
install [GITEA] rework long-term authentication 2023-10-05 08:50:54 +02:00
private Fix verifyCommits error when push a new branch (#26664) (#26810) 2023-09-08 08:09:18 +02:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Fix http protocol auth (#27875) (#27878) 2023-11-14 13:17:12 +01:00
init.go [API] Forgejo API /api/forgejo/v1 2023-07-16 23:44:22 +02:00