Skip to content

Commit

Permalink
Merge pull request #13 from carynova/master
Browse files Browse the repository at this point in the history
Fix #12
  • Loading branch information
ipfans committed Jul 12, 2017
2 parents adbddae + 90c9aef commit 118decc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion session.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func Sessions(name string, store Store) echo.MiddlewareFunc {
return func(ctx echo.Context) error {
rq := ctx.Request()
rs := ctx.Response()
s := &session{name, rq, store, nil, false, rs.Writer()}
s := &session{name, rq, store, nil, false, rs.Writer}
ctx.Set(DefaultKey, s)
defer context.Clear(rq)
return h(ctx)
Expand Down

0 comments on commit 118decc

Please sign in to comment.