1
0
Fork 0
forked from forgejo/forgejo
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