diff --git a/sessions/session.go b/sessions/session.go index 4fa3e896..4b635de1 100644 --- a/sessions/session.go +++ b/sessions/session.go @@ -44,7 +44,7 @@ type ( // // Use the session's manager `Destroy(ctx)` in order to remove the cookie instead. func (s *Session) Destroy() { - s.provider.deleteSession(s) + s.provider.Destroy(s.sid) } // ID returns the session's ID.