Don't discard the "Fetch via Proxy" option

This commit is contained in:
Kiskae 2021-01-22 20:55:45 +01:00 committed by fguillot
parent f8ca825524
commit 77f5b911b5

View file

@ -44,8 +44,9 @@ func NewSubscriptionForm(r *http.Request) *SubscriptionForm {
return &SubscriptionForm{
URL: r.FormValue("url"),
Crawler: r.FormValue("crawler") == "1",
CategoryID: int64(categoryID),
Crawler: r.FormValue("crawler") == "1",
FetchViaProxy: r.FormValue("fetch_via_proxy") == "1",
UserAgent: r.FormValue("user_agent"),
Username: r.FormValue("feed_username"),
Password: r.FormValue("feed_password"),