forgejo/services
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
..
actions fix: Actions PR workflows must update the commit status 2024-11-04 14:10:27 +00:00
agit
asymkey
attachment
auth fix: disallow basic authorization when security keys are enrolled 2024-11-15 11:33:45 +01:00
automerge Fix agit automerge (#31207) 2024-08-25 10:47:37 +02:00
context fix: extend forgejo_auth_token table 2024-11-15 11:33:17 +01:00
contexttest [TESTS] Fix usage of LoadRepoCommit 2024-08-26 08:03:48 +02:00
convert Fix /repos/{owner}/{repo}/pulls/{index}/files endpoint not populating previous_filename (#32017) 2024-09-14 17:53:55 +02:00
cron
doctor fix: extend forgejo_auth_token table 2024-11-15 11:33:17 +01:00
externalaccount
f3
federation
feed
forgejo
forms [FEAT] Allow pushmirror to use publickey authentication 2024-08-22 17:05:07 +02:00
gitdiff feat: Improve diff being generated 2024-08-26 13:58:17 +02:00
indexer
issue [PORT] Fix code owners will not be mentioned when a pull request comes from a forked repository (gitea#30476) 2024-11-09 18:43:37 +00:00
lfs
mailer fix: extend forgejo_auth_token table 2024-11-15 11:33:17 +01:00
markup
migrations fix: support www.github.com for migrations 2024-11-03 17:28:30 +00:00
mirror [FEAT] Allow pushmirror to use publickey authentication 2024-08-22 17:05:07 +02:00
notify
org
packages fix arch pkg 2024-10-21 05:10:13 +00:00
pull Fix the logic of finding the latest pull review commit ID (#32139) 2024-10-06 11:34:08 +02:00
release Handle invalid target when creating releases using API (#31841) 2024-09-14 18:45:18 +02:00
remote
repository security: add permission check to 'delete branch after merge' 2024-10-28 06:04:45 +00:00
secrets
task
uinotification
user fix: extend forgejo_auth_token table 2024-11-15 11:33:17 +01:00
webhook fix: improve discord webhook api conformance 2024-10-09 16:07:34 +00:00
wiki