You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/web/admin
zeripath ea416d7d0e
Redirect if user does not exist on admin pages (#20981) (#21059)
Backport #20981

When on /admin/users/ endpoints if the user is no longer in the DB,
redirect instead of causing a http 500.

Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
2 years ago
..
admin.go Refactor git module, make Gitea use internal git config (#19732) 3 years ago
admin_test.go format with gofumpt (#18184) 3 years ago
auths.go Fix oauth setting list bug (#19682) 3 years ago
emails.go Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
hooks.go Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
main_test.go Use a struct as test options (#19393) 3 years ago
notice.go Update HTTP status codes to modern codes (#18063) 3 years ago
orgs.go Renamed ctx.User to ctx.Doer. (#19161) 3 years ago
packages.go Package registry changes (#19305) 3 years ago
repos.go Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago
users.go Redirect if user does not exist on admin pages (#20981) (#21059) 2 years ago
users_test.go Move almost all functions' parameter db.Engine to context.Context (#19748) 3 years ago