forgejo/services
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>
2023-11-06 18:07:22 +00:00
..
actions Always delete existing scheduled action tasks (#27662) (#27688) 2023-10-19 09:37:20 +02:00
agit
asymkey
attachment
auth Unify two factor check (#27915) (#27929) 2023-11-06 18:07:22 +00:00
automerge
context
convert Fix package webhook (#27839) (#27855) 2023-10-31 11:26:28 +01:00
cron Improve retrying index issues (#27554) (#27634) 2023-10-16 09:55:53 +08:00
externalaccount More db.DefaultContext refactor (#27265) (#27347) 2023-09-29 13:35:01 +00:00
feed More db.DefaultContext refactor (#27265) (#27347) 2023-09-29 13:35:01 +00:00
forms
gitdiff
indexer Improve retrying index issues (#27554) (#27634) 2023-10-16 09:55:53 +08:00
issue Avoid run change title process when the title is same (#27467) (#27558) 2023-10-10 09:01:46 +02:00
lfs
mailer Clean up template locale usage (#27856) (#27857) 2023-10-31 17:35:55 +01:00
markup
migrations Fix DownloadFunc when migrating releases (#27887) (#27890) 2023-11-03 08:29:30 +00:00
mirror More db.DefaultContext refactor (#27265) (#27347) 2023-09-29 13:35:01 +00:00
notify
org Delete repos of org when purge delete user (#27273) (#27728) 2023-11-01 10:03:12 +08:00
packages Close all hashed buffers (#27787) (#27790) 2023-10-25 22:24:25 +02:00
pull Fix poster is not loaded in get default merge message (#27657) (#27666) 2023-10-17 18:20:35 +02:00
release
repository Delete repos of org when purge delete user (#27273) (#27728) 2023-11-01 10:03:12 +08:00
secrets
task Fix incorrect ctx usage in defer function (#27740) (#27741) 2023-10-22 14:36:49 +00:00
uinotification More db.DefaultContext refactor (#27265) (#27347) 2023-09-29 13:35:01 +00:00
user Remove action runners on user deletion (#27902) (#27908) 2023-11-05 13:20:00 +00:00
webhook Fix package webhook (#27839) (#27855) 2023-10-31 11:26:28 +01:00
wiki