mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00: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:
@@ -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