diff options
Diffstat (limited to 'modules/context/repo.go')
-rw-r--r-- | modules/context/repo.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/context/repo.go b/modules/context/repo.go index b345decf7e..ccdc810fb6 100644 --- a/modules/context/repo.go +++ b/modules/context/repo.go @@ -439,6 +439,7 @@ func RepoAssignment(ctx *Context) (cancel context.CancelFunc) { } } ctx.Repo.Owner = owner + ctx.ContextUser = owner ctx.Data["Username"] = ctx.Repo.Owner.Name // redirect link to wiki |