forgejo/tests
Gusted e6bbecb02d
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.
2024-11-15 10:59:36 +01:00
..
e2e tests(e2e): mention highlights in commit messages 2024-11-14 14:12:23 +01:00
fuzz
gitea-lfs-meta
gitea-repositories-meta
integration fix: disallow basic authorization when security keys are enrolled 2024-11-15 10:59:36 +01:00
testdata/data Add artifacts test fixture (#30300) 2024-11-05 09:33:15 +01:00
mysql.ini.tmpl chore: improve slow tests 2024-11-14 12:41:11 +01:00
pgsql.ini.tmpl chore: improve slow tests 2024-11-14 12:41:11 +01:00
sqlite.ini.tmpl test: use memory for integration and journal for migration 2024-11-14 15:38:06 +01:00
test_utils.go Merge pull request 'chore: improve preparing tests' (#5948) from gusted/improve-testz into forgejo 2024-11-15 07:35:22 +00:00