There was an error while loading. Please reload this page.
1 parent bf7931f commit 55bb3dcCopy full SHA for 55bb3dc
1 file changed
cookie/cookie.go
@@ -28,4 +28,5 @@ type store struct {
28
29
func (c *store) Options(options sessions.Options) {
30
c.CookieStore.Options = options.ToGorillaOptions()
31
+ c.CookieStore.MaxAge(options.MaxAge) // Set the maxAge for securecookie codecs
32
}
0 commit comments