increase campaign cookie time

This commit is contained in:
2020-03-23 15:11:06 +01:00
parent 9cf6eefb83
commit 17edc20c90

View File

@@ -36,7 +36,7 @@ func (wc *WebController) serveCampaignPartner(w http.ResponseWriter, r *http.Req
Name: "pd_campaign", Name: "pd_campaign",
Value: p.ByName("id"), Value: p.ByName("id"),
Path: "/", Path: "/",
Expires: time.Now().Add(time.Hour * 24), Expires: time.Now().AddDate(0, 0, 2),
}) })
// Redirect the user to the home page // Redirect the user to the home page