mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 09:57:01 +00:00
fix #1877
This commit is contained in:
@@ -268,7 +268,7 @@ func (s *Sessions) Destroy(ctx *context.Context) {
|
||||
|
||||
ctx.Values().Remove(sessionContextKey)
|
||||
|
||||
ctx.RemoveCookie(s.config.Cookie)
|
||||
ctx.RemoveCookie(s.config.Cookie, s.cookieOptions...)
|
||||
s.provider.Destroy(cookieValue)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user