You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services/auth
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>
1 year ago
..
source Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
auth.go Fix attachment download bug (#27486) (#27571) 1 year ago
auth_test.go Fix attachment download bug (#27486) (#27571) 1 year ago
basic.go Unify two factor check (#27915) (#27929) 1 year ago
group.go Remove `Named` interface (#26913) 1 year ago
httpsign.go Remove `Named` interface (#26913) 1 year ago
interface.go Reduce usage of `db.DefaultContext` (#27073) 1 year ago
oauth2.go Fix attachment download bug (#27486) (#27571) 1 year ago
reverseproxy.go Fix attachment download bug (#27486) (#27571) 1 year ago
session.go Remove `Named` interface (#26913) 1 year ago
signin.go Reduce usage of `db.DefaultContext` (#27073) 1 year ago
source.go Implement FSFE REUSE for golang files (#21840) 2 years ago
sspi.go Make SSPI auth mockable (#27036) 1 year ago
sspiauth_posix.go Make SSPI auth mockable (#27036) 1 year ago
sspiauth_windows.go Make SSPI auth mockable (#27036) 1 year ago
sync.go Implement FSFE REUSE for golang files (#21840) 2 years ago