diff options
Diffstat (limited to 'modules/middleware/context.go')
-rw-r--r-- | modules/middleware/context.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/middleware/context.go b/modules/middleware/context.go index 9a8bb8865e..141e8ace40 100644 --- a/modules/middleware/context.go +++ b/modules/middleware/context.go @@ -211,7 +211,7 @@ func Contexter() macaron.Handler { } // Get user from session if logined. - ctx.User, ctx.IsBasicAuth = auth.SignedInUser(ctx.Req.Request, ctx.Session) + ctx.User, ctx.IsBasicAuth = auth.SignedInUser(ctx.Context, ctx.Session) if ctx.User != nil { ctx.IsSigned = true |