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:
parent
7907786040
commit
934dd41fa6
3 changed files with 73 additions and 1 deletions
|
@ -219,6 +219,8 @@ func Profile(ctx *context.Context) {
|
|||
}
|
||||
}
|
||||
|
||||
ctx.Data["ShowUserEmail"] = setting.UI.ShowUserEmail
|
||||
|
||||
ctx.HTML(200, tplProfile)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue