gitea/routers
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.
2019-10-24 09:18:41 +08:00
..
admin
api/v1 Fix 500 when getting user as unauthenticated user (#8653) 2019-10-24 09:18:41 +08:00
dev
org
private
repo Improve OGP (#8637) 2019-10-23 18:54:13 +01:00
routes
user
utils
home.go Use AppSubUrl for more redirections (#8647) 2019-10-23 22:04:22 +01:00
init.go
install.go
metrics.go
swagger_json.go