mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-05 03:58:28 +02:00
Make SHOW_USER_EMAIL also apply to profiles (#2258)
The e-mail address is currently only hidden from the explore page.
This commit is contained in:
1 parent
7907786040
commit
934dd41fa6
3 files changed
+73
-1
No files matched your search
@@ -219,6 +219,8 @@ func Profile(ctx *context.Context) {
|
||||
}
|
||||
}
|
||||
|
||||
ctx.Data["ShowUserEmail"] = setting.UI.ShowUserEmail
|
||||
|
||||
ctx.HTML(200, tplProfile)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user