diff options
Diffstat (limited to 'routers')
-rw-r--r-- | routers/user/profile.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/user/profile.go b/routers/user/profile.go index c7d761052e..1850286411 100644 --- a/routers/user/profile.go +++ b/routers/user/profile.go @@ -219,6 +219,8 @@ func Profile(ctx *context.Context) { } } + ctx.Data["ShowUserEmail"] = setting.UI.ShowUserEmail + ctx.HTML(200, tplProfile) } |