mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 03:17:04 +00:00
Add iris.DestroySessionByID(string) and iris.DestroyAllSessions() as requested.
This commit is contained in:
@@ -1205,7 +1205,6 @@ func (ctx *Context) SessionDestroy() {
|
||||
if sess := ctx.Session(); sess != nil {
|
||||
ctx.framework.sessions.Destroy(ctx.ResponseWriter, ctx.Request)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
var maxAgeExp = regexp.MustCompile(`maxage=(\d+)`)
|
||||
|
||||
Reference in New Issue
Block a user