diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2021-01-06 09:38:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-06 09:38:00 +0800 |
commit | a1c9e8f266cb2809200dce1618da33314cc25082 (patch) | |
tree | abb0fbe7f94bd767e4ffef8f1449ed35427a8286 /modules/context | |
parent | 4ef5f17a7e1fefb96d4c6d8ff32ead01248bad5a (diff) | |
download | gitea-a1c9e8f266cb2809200dce1618da33314cc25082.tar.gz gitea-a1c9e8f266cb2809200dce1618da33314cc25082.zip |
Fix windows build error (#14263)
* fix build
* take flash error message back and fix more windows lint error
* performance optimization
* own step to check lint for windows
Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'modules/context')
-rw-r--r-- | modules/context/context.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/context/context.go b/modules/context/context.go index c35a19480a..1ee31e0ebb 100644 --- a/modules/context/context.go +++ b/modules/context/context.go @@ -309,7 +309,7 @@ func Contexter() macaron.Handler { } // Get user from session if logged in. - ctx.User, ctx.IsBasicAuth = sso.SignedInUser(ctx.Req.Request, ctx, ctx.Session) + ctx.User, ctx.IsBasicAuth = sso.SignedInUser(ctx.Req.Request, c.Resp, ctx, ctx.Session) if ctx.User != nil { ctx.IsSigned = true |