summaryrefslogtreecommitdiffstats
path: root/services/context/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/context/user.go')
-rw-r--r--services/context/user.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/context/user.go b/services/context/user.go
index 62d2dc0aa2..81c2746819 100644
--- a/services/context/user.go
+++ b/services/context/user.go
@@ -27,6 +27,7 @@ func UserAssignmentWeb() func(ctx *context.Context) {
}
}
ctx.ContextUser = userAssignment(ctx.Base, ctx.Doer, errorFn)
+ ctx.Data["ContextUser"] = ctx.ContextUser
}
}