From b515549af138cdfc6b80513dcad84306e8f511fd Mon Sep 17 00:00:00 2001 From: yp05327 <576951401@qq.com> Date: Thu, 11 May 2023 05:30:32 +0000 Subject: [PATCH] add --- routers/web/org/setting.go | 1 + 1 file changed, 1 insertion(+) 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) }