0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-26 04:42:45 +01:00
gitea/routers/web/user/setting
Lunny Xiao 1bf5527eac
Refactor Find Sources and fix bug when view a user who belongs to an unactive auth source (#27798)
The steps to reproduce it.

First, create a new oauth2 source.
Then, a user login with this oauth2 source.
Disable the oauth2 source.
Visit users -> settings -> security, 500 will be displayed.
This is because this page only load active Oauth2 sources but not all
Oauth2 sources.
2023-11-03 01:41:00 +00:00
..
security Refactor Find Sources and fix bug when view a user who belongs to an unactive auth source (#27798) 2023-11-03 01:41:00 +00:00
account.go Reduce usage of db.DefaultContext (#27073) 2023-09-14 17:09:32 +00:00
account_test.go Move web/api context related testing function into a separate package (#26859) 2023-09-01 11:26:07 +00:00
adopt.go Move createrepository from module to service layer (#26927) 2023-09-06 12:08:51 +00:00
applications.go More refactoring of db.DefaultContext (#27083) 2023-09-15 06:13:19 +00:00
keys.go Final round of db.DefaultContext refactor (#27587) 2023-10-14 08:37:24 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
oauth2.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
oauth2_common.go Final round of db.DefaultContext refactor (#27587) 2023-10-14 08:37:24 +00:00
packages.go More refactoring of db.DefaultContext (#27083) 2023-09-15 06:13:19 +00:00
profile.go Replace more db.DefaultContext (#27628) 2023-10-15 17:46:06 +02:00
runner.go Add user level action runners (#24995) 2023-05-31 09:39:54 +08:00
webhooks.go Final round of db.DefaultContext refactor (#27587) 2023-10-14 08:37:24 +00:00