mirror of
https://github.com/lukaszraczylo/traefikoidc.git
synced 2026-10-15 04:18:03 +00:00
Improve cookie setting.
This commit is contained in:
@@ -1223,6 +1223,8 @@ func TestHandleExpiredToken(t *testing.T) {
|
||||
t.Error("Nonce not set")
|
||||
}
|
||||
|
||||
defaultSessionOptions := newSessionOptions(tOidc.determineScheme(req) == "https")
|
||||
|
||||
// Verify session options
|
||||
if session.Options.MaxAge != defaultSessionOptions.MaxAge {
|
||||
t.Error("Session MaxAge not set correctly")
|
||||
|
||||
Reference in New Issue
Block a user