aboutsummaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorDavid Svantesson <davidsvantesson@gmail.com>2019-09-30 01:20:27 +0200
committerLauris BH <lauris@nix.lv>2019-09-30 02:20:27 +0300
commit9c2a58456a698eae8a289de67685d4e3e270aaf9 (patch)
treed3d494f25fe5b636d14af9a3f07327fb265ae53c /routers
parentcf170bf529268431e87c2d83a155ee9c6c3c727a (diff)
downloadgitea-9c2a58456a698eae8a289de67685d4e3e270aaf9.tar.gz
gitea-9c2a58456a698eae8a289de67685d4e3e270aaf9.zip
Fix repo_admin_change_team_access always checked in org settings (#8319)
Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
Diffstat (limited to 'routers')
-rw-r--r--routers/org/setting.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/org/setting.go b/routers/org/setting.go
index 7de784c5b8..0aeefb50af 100644
--- a/routers/org/setting.go
+++ b/routers/org/setting.go
@@ -31,6 +31,7 @@ func Settings(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("org.settings")
ctx.Data["PageIsSettingsOptions"] = true
ctx.Data["CurrentVisibility"] = ctx.Org.Organization.Visibility
+ ctx.Data["RepoAdminChangeTeamAccess"] = ctx.Org.Organization.RepoAdminChangeTeamAccess
ctx.HTML(200, tplSettingsOptions)
}