Set cookie domain for invalid cookies

This commit is contained in:
Wim Brand
2019-07-29 15:24:38 +02:00
parent 70c8498878
commit 524338d84f

View File

@@ -58,6 +58,7 @@ func (wc *WebController) newTemplateData(w http.ResponseWriter, r *http.Request)
Value: "",
Path: "/",
Expires: time.Unix(0, 0),
Domain: wc.conf.SessionCookieDomain,
})
}
return t