Improve cookie setting.

This commit is contained in:
2024-12-10 10:19:35 +00:00
parent a6fa4d8789
commit 01ee7c4dc8
4 changed files with 23 additions and 21 deletions
+2
View File
@@ -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")