forgejo/tests
Gusted 42f3644409
fix: disallow basic authorization when security keys are enrolled
- This unifies the security behavior of enrolling security keys with
enrolling TOTP as a 2FA method. When TOTP is enrolled, you cannot use
basic authorization (user:password) to make API request on behalf of the
user, this is now also the case when you enroll security keys.
- The usage of access tokens are the only method to make API requests on
behalf of the user when a 2FA method is enrolled for the user.
- Integration test added.

(cherry picked from commit e6bbecb02d)
2024-11-15 11:33:45 +01:00
..
e2e fix: typo on releases for source code downloads 2024-10-22 14:03:42 +00:00
fuzz
gitea-lfs-meta
gitea-repositories-meta
integration fix: disallow basic authorization when security keys are enrolled 2024-11-15 11:33:45 +01:00
testdata/data/attachments/a/0
mysql.ini.tmpl
pgsql.ini.tmpl
sqlite.ini.tmpl
test_utils.go