We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 525b19f + 5892998 commit 05b673bCopy full SHA for 05b673b
session/session.go
@@ -1,6 +1,7 @@
1
package session
2
3
import (
4
+ "github.com/gorilla/context"
5
"github.com/gorilla/sessions"
6
"github.com/labstack/echo"
7
"github.com/labstack/echo/middleware"
@@ -58,6 +59,7 @@ func MiddlewareWithConfig(config Config) echo.MiddlewareFunc {
58
59
if config.Skipper(c) {
60
return next(c)
61
}
62
+ defer context.Clear(c.Request())
63
c.Set(key, config.Store)
64
65
0 commit comments