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/api/v1/user
Monty Taylor 66ceee08dc Fix 500 when getting user as unauthenticated user (#8662)
When doing GET /api/v1/users/{user} as an unauthenticated user,
gitea throws a 500 because it's trying to dereference elements
from the context user. It wants to do this to see whether to
show the primary email and will do that if the logged in user
is admin or the user in question. However, if ctx.User is nil,
go gets really unhappy.
5 years ago
..
app.go Change drone token name to let users know to use oauth2 (#6912) 6 years ago
email.go Move sdk structs to modules/structs (#6905) 6 years ago
follower.go fix wrong email when use gitea as OAuth2 provider (#7640) (#7647) 6 years ago
gpg_key.go Add golangci (#6418) 6 years ago
key.go fix wrong email when use gitea as OAuth2 provider (#7640) (#7647) 6 years ago
repo.go Move sdk structs to modules/structs (#6905) 6 years ago
star.go Move sdk structs to modules/structs (#6905) 6 years ago
user.go Fix 500 when getting user as unauthenticated user (#8662) 5 years ago
watch.go Move sdk structs to modules/structs (#6905) 6 years ago