mirror of
https://github.com/go-gitea/gitea
synced 2025-07-09 20:17:21 +00:00
Fix #165
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user