mirror of
https://github.com/kataras/iris.git
synced 2026-03-07 17:05:58 +00:00
fix when destroy session can't remove cookie in subdomain
Former-commit-id: 6ad05d62e03233c61a54f11c36867041ecba3f4d
This commit is contained in:
@@ -147,7 +147,7 @@ func (s *Sessions) Destroy(ctx context.Context) {
|
||||
if cookieValue == "" { // nothing to destroy
|
||||
return
|
||||
}
|
||||
RemoveCookie(ctx, s.config.Cookie, s.config.AllowReclaim)
|
||||
RemoveCookie(ctx, s.config)
|
||||
|
||||
s.provider.Destroy(cookieValue)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user