mirror of
https://github.com/go-gitea/gitea
synced 2025-01-19 01:47:42 +01:00
4fd8ac0653
Backport #25097 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: JakobDev <jakobdev@gmx.de> Co-authored-by: silverwind <me@silverwind.io>