diff options
Diffstat (limited to 'routers')
-rw-r--r-- | routers/repo/repo.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/repo.go b/routers/repo/repo.go index 7cc7df35..e134fd29 100644 --- a/routers/repo/repo.go +++ b/routers/repo/repo.go @@ -139,6 +139,7 @@ func Migrate(ctx *middleware.Context) { ctx.Data["Title"] = ctx.Tr("new_migrate") ctx.Data["private"] = ctx.User.LastRepoVisibility ctx.Data["IsForcedPrivate"] = setting.Repository.ForcePrivate + ctx.Data["mirror"] = ctx.Query("mirror") == "1" ctxUser := checkContextUser(ctx, ctx.QueryInt64("org")) if ctx.Written() { |