diff options
author | Unknwon <u@gogs.io> | 2018-10-24 09:59:07 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2018-10-24 09:59:07 -0400 |
commit | 5129ed215e4258a3af13eef12c11c68c6073c5be (patch) | |
tree | 790d0be25b38610654e059427643d38525407091 /vendor/github.com/go-macaron/session | |
parent | b93079f1c1a71238ab3bd8fd33ceecedf3b6c46f (diff) |
vendor: update github.com/go-macaron/session (#5469)
Fix security flaw reported by c957861129d62331c5704d2f04d11e41.
Diffstat (limited to 'vendor/github.com/go-macaron/session')
-rw-r--r-- | vendor/github.com/go-macaron/session/session.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/go-macaron/session/session.go b/vendor/github.com/go-macaron/session/session.go index e17c5e74..d9bbae20 100644 --- a/vendor/github.com/go-macaron/session/session.go +++ b/vendor/github.com/go-macaron/session/session.go @@ -257,7 +257,7 @@ func (m *Manager) sessionID() string { func (m *Manager) Start(ctx *macaron.Context) (RawStore, error) { sid := ctx.GetCookie(m.opt.CookieName) if len(sid) > 0 && m.provider.Exist(sid) { - return m.provider.Read(sid) + return m.Read(sid) } sid = m.sessionID() |