diff options
author | Hank Shen <swhbox@foxmail.com> | 2020-06-15 17:32:29 +0300 |
---|---|---|
committer | Hank Shen <swhbox@foxmail.com> | 2020-06-15 17:32:29 +0300 |
commit | e7dd49c7c4f582596afa07150f3897c88edb25cb (patch) | |
tree | e6faac6c35c3f55a775cc28e25dd480e485ad6c4 /store.go | |
parent | 5ee2e741c089057300620e8c18cb8b1741c57067 (diff) |
update
Diffstat (limited to 'store.go')
-rw-r--r-- | store.go | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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 { |