From d6734336dc3c19a34d87afe196092b8cd9ba0b95 Mon Sep 17 00:00:00 2001 From: Erikson Bahr Date: Thu, 1 Feb 2024 13:38:54 -0300 Subject: [PATCH] remove deadcode --- pkg/middleware/stored_session.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/middleware/stored_session.go b/pkg/middleware/stored_session.go index 75501ac4a6..1afe6d0cf0 100644 --- a/pkg/middleware/stored_session.go +++ b/pkg/middleware/stored_session.go @@ -48,9 +48,6 @@ type StoredSessionLoaderOptions struct { // If the sesssion is older than `RefreshPeriod` but the provider doesn't // refresh it, we must re-validate using this validation. ValidateSession func(context.Context, *sessionsapi.SessionState) bool - - // Callback that is called when a session is refreshed - OnSessionRefreshed *func(context.Context, *http.Request, *sessionsapi.SessionState) } // NewStoredSessionLoader creates a new storedSessionLoader which loads