mirror of https://github.com/go-gitea/gitea.git
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.
when you use gitea as OAuth2 provider, the /api/v1/user should return user primary email as identifier, which is unique in OAuth2 clients. this patch use convert.ToUser replace all u.APIFormat in api requests, return primary email when caller is yourself or admin. |
6 years ago | |
---|---|---|
.. | ||
admin | 6 years ago | |
api/v1 | 6 years ago | |
dev | 8 years ago | |
org | 6 years ago | |
private | 6 years ago | |
repo | 6 years ago | |
routes | 6 years ago | |
user | 6 years ago | |
utils | 7 years ago | |
home.go | 6 years ago | |
init.go | 6 years ago | |
install.go | 6 years ago | |
metrics.go | 6 years ago | |
swagger_json.go | 7 years ago |