mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-11 10:34:59 +01:00
ea385f5d39
The API should only return the real Mail of a User, if the caller is logged in. The check do to this don't work. This PR fixes this. This not really a security issue, but can lead to Spam. --------- Co-authored-by: silverwind <me@silverwind.io> |
||
---|---|---|
.. | ||
avatar.go | ||
badge.go | ||
email_address_test.go | ||
email_address.go | ||
error.go | ||
external_login_user.go | ||
follow_test.go | ||
follow.go | ||
list.go | ||
main_test.go | ||
must_change_password.go | ||
openid_test.go | ||
openid.go | ||
redirect_test.go | ||
redirect.go | ||
search.go | ||
setting_keys.go | ||
setting_test.go | ||
setting.go | ||
user_system.go | ||
user_test.go | ||
user_update.go | ||
user.go |