mirror of
https://github.com/lukaszraczylo/traefikoidc.git
synced 2026-10-18 04:47:28 +00:00
0.7.10 (#80)
* Add ability to disable replay protection. - This is useful for runs with multiple traefik replicas to avoid false positives and tokens re-creation. * Enhance the CI/CD pipelines * Increase test coverage. * Update vendored dependencies. * Update behaviour on forceHTTPS as per issue #82
This commit is contained in:
@@ -34,7 +34,7 @@ func (m *SessionChunkManager) CleanupChunks(chunks map[int]*sessions.Session, w
|
||||
if session != nil && session.Options != nil {
|
||||
// Set MaxAge to -1 to expire the cookie
|
||||
session.Options.MaxAge = -1
|
||||
session.Save(nil, w) // Save with nil request is safe for expiration
|
||||
_ = session.Save(nil, w) // Safe to ignore: best effort cleanup of expired chunk
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user