forgejo/services/auth
KN4CK3R 00705da102
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.
2023-11-06 23:06:21 +01:00
..
source Improve LDAP group config documentation (#21227) (#26921) 2023-09-05 22:41:10 -04:00
auth.go Fix attachment download bug (#27486) (#27570) 2023-10-11 04:38:50 +02:00
auth_test.go Fix attachment download bug (#27486) (#27570) 2023-10-11 04:38:50 +02:00
basic.go Unify two factor check (#27915) (#27939) 2023-11-06 23:06:21 +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 refactor auth interface to return error when verify failure (#22119) 2022-12-28 13:53:28 +08:00
interface.go Improve template system and panic recovery (#24461) 2023-05-04 14:36:34 +08:00
middleware.go Unify two factor check (#27915) (#27939) 2023-11-06 23:06:21 +01:00
oauth2.go Fix attachment download bug (#27486) (#27570) 2023-10-11 04:38:50 +02:00
reverseproxy.go Fix attachment download bug (#27486) (#27570) 2023-10-11 04:38:50 +02:00
session.go refactor auth interface to return error when verify failure (#22119) 2022-12-28 13:53:28 +08:00
signin.go Modify OAuth login ui and fix display name, iconurl related logic (#25030) (#25161) 2023-06-09 10:59:18 +00:00
source.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
sspi_windows.go Fix SSPI auth panic (#25955) (#25969) 2023-07-18 22:28:06 +00:00
sync.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00