Set cookie domain for invalid cookies
This commit is contained in:
@@ -58,6 +58,7 @@ func (wc *WebController) newTemplateData(w http.ResponseWriter, r *http.Request)
|
|||||||
Value: "",
|
Value: "",
|
||||||
Path: "/",
|
Path: "/",
|
||||||
Expires: time.Unix(0, 0),
|
Expires: time.Unix(0, 0),
|
||||||
|
Domain: wc.conf.SessionCookieDomain,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
return t
|
return t
|
||||||
|
Reference in New Issue
Block a user