diff --git a/routers/web/org/setting.go b/routers/web/org/setting.go index 4111b13531510..a8ad1daece3e9 100644 --- a/routers/web/org/setting.go +++ b/routers/web/org/setting.go @@ -46,6 +46,7 @@ func Settings(ctx *context.Context) { ctx.Data["PageIsSettingsOptions"] = true ctx.Data["CurrentVisibility"] = ctx.Org.Organization.Visibility ctx.Data["RepoAdminChangeTeamAccess"] = ctx.Org.Organization.RepoAdminChangeTeamAccess + ctx.Data["ContextUser"] = ctx.ContextUser ctx.HTML(http.StatusOK, tplSettingsOptions) }