renothing
cbf231a675
fix wrong email when use gitea as OAuth2 provider ( #7640 )
...
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.
2019-07-27 16:15:30 +03:00
..
2019-04-17 12:06:35 -04:00
2019-05-11 18:21:34 +08:00
2019-07-27 16:15:30 +03:00
2019-07-22 18:32:22 +01:00
2019-06-29 16:51:10 -04:00
2019-05-11 18:21:34 +08:00
2019-05-11 18:21:34 +08:00
2019-06-08 17:31:11 +03:00
2018-04-29 14:21:33 +08:00
2019-07-27 16:15:30 +03:00
2019-05-11 18:21:34 +08:00
2019-05-11 18:21:34 +08:00
2019-05-11 18:21:34 +08:00
2019-05-11 18:21:34 +08:00
2019-05-11 18:21:34 +08:00
2019-06-16 20:39:52 +08:00
2018-04-29 14:21:33 +08:00
2019-06-06 08:37:45 +08:00
2019-06-22 18:35:34 +01:00
2019-07-06 22:25:05 -04:00
2019-05-11 18:21:34 +08:00
2019-05-30 11:09:05 -04:00
2019-07-12 16:55:46 +08:00
2019-07-27 16:15:30 +03:00
2019-07-25 11:55:06 +01:00
2019-07-27 16:15:30 +03:00
2019-06-08 17:31:11 +03:00
2019-04-17 12:06:35 -04:00