0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-18 12:22:36 -05:00
forgejo/services/auth
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
..
source Improve LDAP group config documentation (#21227) (#26921) 2023-09-08 08:10:08 +02:00
auth.go Fix attachment download bug (#27486) (#27570) 2023-11-14 13:17:11 +01:00
auth_test.go Fix attachment download bug (#27486) (#27570) 2023-11-14 13:17:11 +01:00
basic.go Unify two factor check (#27915) (#27939) 2023-11-14 13:17:12 +01:00
group.go Fix the error message when the token is incorrect (#25701) (#25836) 2023-07-12 10:18:27 +00:00
httpsign.go
interface.go
middleware.go Unify two factor check (#27915) (#27939) 2023-11-14 13:17:12 +01:00
oauth2.go Fix attachment download bug (#27486) (#27570) 2023-11-14 13:17:11 +01:00
reverseproxy.go Fix attachment download bug (#27486) (#27570) 2023-11-14 13:17:11 +01:00
session.go
signin.go
source.go
sspi_windows.go Fix SSPI auth panic (#25955) (#25969) 2023-07-24 07:58:56 +02:00
sync.go