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 ee7b153dd9 Fix 500 when getting user as unauthenticated user (#8653)
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
email.go
follower.go
gpg_key.go
key.go
repo.go Make /users/{username}/repos list private repos the current user has access to (#8621) 5 years ago
star.go
user.go Fix 500 when getting user as unauthenticated user (#8653) 5 years ago
watch.go