gitea/services/convert
JakobDev ea385f5d39
Fix API leaking Usermail if not logged in (#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: silverwind <me@silverwind.io>
2023-07-31 01:18:38 +00:00
..
activity.go
attachment.go
convert.go
git_commit.go
git_commit_test.go
issue.go
issue_comment.go
issue_test.go
main_test.go
mirror.go
notification.go
package.go
pull.go
pull_review.go
pull_test.go
release.go
repository.go
status.go
user.go Fix API leaking Usermail if not logged in (#25097) 2023-07-31 01:18:38 +00:00
user_test.go
utils.go
utils_test.go
wiki.go