summaryrefslogtreecommitdiffstats
path: root/web_src/js/features/repo-issue.js
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-03-27 19:55:20 -0400
committerGitHub <noreply@github.com>2023-03-28 07:55:20 +0800
commit1fed0e1adc8dd2d27d2d7e34dda29c8e79e5e6e8 (patch)
treef1dcd4fd41d85cb074aca3cbb26d3e76961d0cc2 /web_src/js/features/repo-issue.js
parent88a652fa92d0dea6d52767939fb958aaddb244c9 (diff)
downloadgitea-1fed0e1adc8dd2d27d2d7e34dda29c8e79e5e6e8.tar.gz
gitea-1fed0e1adc8dd2d27d2d7e34dda29c8e79e5e6e8.zip
Fix profile page email display, respect settings (#23747) (#23756)
Backport #23747 by @wxiaoguang Always respect the `setting.UI.ShowUserEmail` and `KeepEmailPrivate` setting. * It doesn't make sense to show user's own E-mail to themself. * Always hide the E-mail if KeepEmailPrivate=true, then the user could know how their profile page looks like for others. * Revert the `setting.UI.ShowUserEmail` change from #4981 . This setting is used to control the E-mail display, not only for the user list page. ps: the incorrect `<div .../>` tag on the profile page has been fixed by #23748 together, so this PR becomes simpler. Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'web_src/js/features/repo-issue.js')
0 files changed, 0 insertions, 0 deletions