1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-13 14:07:20 +00:00
yp05327
2023-09-06 15:38:14 +09:00
committed by GitHub
parent 31c92d9695
commit 0850be6750
10 changed files with 3 additions and 7 deletions

View File

@ -471,6 +471,7 @@ func RepoAssignment(ctx *Context) context.CancelFunc {
}
ctx.Repo.Owner = owner
ctx.ContextUser = owner
ctx.Data["ContextUser"] = ctx.ContextUser
ctx.Data["Username"] = ctx.Repo.Owner.Name
// redirect link to wiki