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 /routers | |
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 'routers')
-rw-r--r-- | routers/routes/recovery.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/routes/recovery.go b/routers/routes/recovery.go index 870a219c41..cf4b1a8d84 100644 --- a/routers/routes/recovery.go +++ b/routers/routes/recovery.go @@ -75,7 +75,7 @@ func Recovery() func(next http.Handler) http.Handler { } // Get user from session if logged in. - user, _ := sso.SignedInUser(req, &store, sess) + user, _ := sso.SignedInUser(req, w, &store, sess) if user != nil { store.Data["IsSigned"] = true store.Data["SignedUser"] = user |