Browse Source
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.tags/v1.11.0-rc1
Monty Taylor
5 years ago
committed by
Lunny Xiao
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue