0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-02-02 11:10:11 +01:00
gitea/routers/web/user
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
..
setting 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
avatar.go Replace -1 with GhostUserID (#27703) 2023-10-20 14:43:08 +00:00
code.go
home_test.go Replace more db.DefaultContext (#27628) 2023-10-15 17:46:06 +02:00
home.go Final round of db.DefaultContext refactor (#27587) 2023-10-14 08:37:24 +00:00
main_test.go
notification.go
package.go Replace more db.DefaultContext (#27628) 2023-10-15 17:46:06 +02:00
profile.go
search.go
stop_watch.go Final round of db.DefaultContext refactor (#27587) 2023-10-14 08:37:24 +00:00
task.go