summaryrefslogtreecommitdiffstats
path: root/routers/web
diff options
context:
space:
mode:
authorJakobDev <jakobdev@gmx.de>2023-07-31 03:18:38 +0200
committerGitHub <noreply@github.com>2023-07-31 01:18:38 +0000
commitea385f5d39a286ec36f3735fc7c5211b141f6165 (patch)
tree2c4ec81c6249cb2b2e53065635158c27ad3fa8be /routers/web
parent7dc2e501134c86b3b6ab213779b19e801fd2bbbf (diff)
downloadgitea-ea385f5d39a286ec36f3735fc7c5211b141f6165.tar.gz
gitea-ea385f5d39a286ec36f3735fc7c5211b141f6165.zip
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>
Diffstat (limited to 'routers/web')
0 files changed, 0 insertions, 0 deletions