From e7dd49c7c4f582596afa07150f3897c88edb25cb Mon Sep 17 00:00:00 2001 From: Hank Shen Date: Mon, 15 Jun 2020 22:32:29 +0800 Subject: update --- store.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'store.go') diff --git a/store.go b/store.go index fe714f4..58a8476 100644 --- a/store.go +++ b/store.go @@ -208,9 +208,6 @@ func (s *FilesystemStore) Save(ctx echo.Context, session *Session) error { if err := s.save(session); err != nil { return err } - if !session.IsNew { - return nil - } encoded, err := securecookie.EncodeMulti(session.Name(), session.ID, s.Codecs...) if err != nil { -- cgit v1.2.3