summaryrefslogtreecommitdiff
path: root/store.go
diff options
context:
space:
mode:
authorHank Shen <swhbox@foxmail.com>2019-05-02 05:13:40 +0300
committerHank Shen <swhbox@foxmail.com>2019-05-02 05:13:40 +0300
commitd034976064c535b4ff1c2a3af0efc1b2a84af49a (patch)
treef53bd6f56fc4cdae6c3b1917e1837e3f7cdcf271 /store.go
parent3650830381a19dad9676432160b11790f0638174 (diff)
update
Diffstat (limited to 'store.go')
-rw-r--r--store.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/store.go b/store.go
index 0641254..13d2040 100644
--- a/store.go
+++ b/store.go
@@ -196,7 +196,7 @@ func (s *FilesystemStore) Save(ctx echo.Context,
if err := s.erase(session); err != nil {
return err
}
- SetCookie(ctx, session.Name(), "")
+ SetCookie(ctx, session.Name(), "", -1)
return nil
}
if len(session.ID) == 0 {