Fix session bumping
This commit is contained in:
1 parent
3864a4c1cc
commit
feaab7e4e2
2 files changed
+5
-2
No files matched your search
@@ -228,5 +228,5 @@ func (h *Handler) Serve(ctx context.Context) error {
|
||||
}
|
||||
|
||||
func (h *Handler) sessionMiddleware() middleware.Middleware {
|
||||
return h.sessions.NewMiddleware(h.cfg.Cookies.SessionName)
|
||||
return h.sessions.NewMiddleware(h.cfg.Cookies.SessionName, h.cfg.Cookies.Secure)
|
||||
}
|
||||
Reference in new issue
Block a user