1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-09 20:17:21 +00:00
This commit is contained in:
Unknown
2014-06-21 00:51:41 -04:00
parent 8bfa7ae745
commit ad5ec45dd6
25 changed files with 484 additions and 450 deletions

View File

@ -358,7 +358,7 @@ func InitContext() martini.Handler {
})
// Get user from session if logined.
user := auth.SignedInUser(ctx.Session)
user := auth.SignedInUser(ctx.req.Header, ctx.Session)
ctx.User = user
ctx.IsSigned = user != nil